X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e64b5092d8c302b0288ba1501c0283961a160834..f715832d8af615462b881bff83a37237bf44ca22:/apps/catalogue/forms.py?ds=sidebyside 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):