X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e64b5092d8c302b0288ba1501c0283961a160834..f030289137a031a2e78f9aadb9ce075d8de76649:/apps/catalogue/forms.py diff --git a/apps/catalogue/forms.py b/apps/catalogue/forms.py index 6ed6d62c2..fd751965a 100644 --- a/apps/catalogue/forms.py +++ b/apps/catalogue/forms.py @@ -27,7 +27,7 @@ class SearchForm(forms.Form): super(SearchForm, self).__init__(*args, **kwargs) self.fields['q'].widget.attrs['title'] = _('title, author, theme/topic, epoch, kind, genre') #self.fields['q'].widget.attrs['style'] = '' - self.fields['tags'].initial = '/'.join(tag.slug for tag in Tag.get_tag_list(tags)) + self.fields['tags'].initial = '/'.join(tag.url_chunk for tag in Tag.get_tag_list(tags)) class UserSetsForm(forms.Form):