Changeset 288:afdda4d19a82
- Timestamp:
- 04.11.2010 14:49:41 (19 months ago)
- Branch:
- default
- Location:
- djangobb/djangobb_forum
- Files:
-
- 2 edited
-
forms.py (modified) (1 diff)
-
templates/forum/search_form.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
djangobb/djangobb_forum/forms.py
r279 r288 285 285 search_in = forms.ChoiceField(choices=SEARCH_IN_CHOICES, label=_('Search in')) 286 286 sort_by = forms.ChoiceField(choices=SORT_POST_BY_CHOICES, label=_('Sort by')) 287 sort_dir = forms.ChoiceField(choices=SORT_DIR_CHOICES, label=_('Sort order'))287 sort_dir = forms.ChoiceField(choices=SORT_DIR_CHOICES, initial='DESC', label=_('Sort order')) 288 288 show_as = forms.ChoiceField(choices=SHOW_AS_CHOICES, label=_('Show results as')) 289 289 -
djangobb/djangobb_forum/templates/forum/search_form.html
r211 r288 38 38 </select> 39 39 <br /></label> 40 <label class="conl">{{ form.search_in.label }} 40 <label class="conl">{{ form.search_in.label }} 41 41 <br /> 42 42 {{ form.search_in }} … … 51 51 <legend>{% trans "Select how to view search results" %}</legend> 52 52 <div class="infldset"> 53 <label class="conl">{{ form.sort_by.label }} 53 <label class="conl">{{ form.sort_by.label }} 54 54 <br /> 55 55 {{ form.sort_by }}
Note: See TracChangeset
for help on using the changeset viewer.
