Browse Source

add "Last year" option to time range selection

Noémi Ványi 8 years ago
parent
commit
2fc1091b7f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      searx/templates/oscar/time-range.html

+ 3 - 0
searx/templates/oscar/time-range.html

@@ -11,4 +11,7 @@
     <option id="time-range-month" value="month" {{ "selected" if time_range=="month" else ""}}>
         {{ _('Last month') }}
     </option>
+    <option id="time-range-year" value="year" {{ "selected" if time_range=="year" else ""}}>
+        {{ _('Last year') }}
+    </option>
 </select>