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 View File

11
     <option id="time-range-month" value="month" {{ "selected" if time_range=="month" else ""}}>
11
     <option id="time-range-month" value="month" {{ "selected" if time_range=="month" else ""}}>
12
         {{ _('Last month') }}
12
         {{ _('Last month') }}
13
     </option>
13
     </option>
14
+    <option id="time-range-year" value="year" {{ "selected" if time_range=="year" else ""}}>
15
+        {{ _('Last year') }}
16
+    </option>
14
 </select>
17
 </select>