Commit ba7a747f2a566e710274451995e1f65b70323713

Authored by janek37
1 parent 62fb8118

poprawione wyszukiwanie w widoku słownika

dictionary/ajax_lexeme_slickgrid.py
... ... @@ -190,13 +190,13 @@ class LexemeQuery(SlickGridQuery):
190 190  
191 191  
192 192 # Zapytanie o indeks wiersza o pewnym id przy danym sortowaniu
193   -@ajax(method='get')
  193 +@ajax(login_required=False, method='get')
194 194 def row_index(request, id, sort_rules, filter, mask):
195 195 query = LexemeQuery(
196 196 filter=filter, sort_rules=sort_rules, mask=mask, user=request.user)
197 197 return {'index': query.row_index(id)}
198 198  
199   -@ajax(method='get')
  199 +@ajax(login_required=False, method='get')
200 200 def search_index(request, sort_rules, filter, search=''):
201 201 query = LexemeQuery(
202 202 filter=filter, sort_rules=sort_rules, mask=search, user=request.user)
... ...