X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d99d71844b7b97800dcab7cbb81c3a4185acbb48..8f98ff35ae8cd6ebe07d73112f8c476011ac78d6:/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):