Commit 3cf0c11fcbe704282bd3e558610d21b8878bc6fb
1 parent
e5c5cc8a
druga poprawka do wyświetlania odsyłaczy
Showing
1 changed file
with
2 additions
and
2 deletions
dictionary/ajax_lexeme_view.py
... | ... | @@ -9,7 +9,7 @@ from dictionary.models import Lexeme, LexemeInflectionPattern, PartOfSpeech, \ |
9 | 9 | Pattern, Vocabulary, Qualifier, prepare_table, ClassificationValue, \ |
10 | 10 | CrossReference, get_root, InputLexeme, CrossReferenceType, \ |
11 | 11 | filter_visible, editable_vocabularies, visible_qualifiers, \ |
12 | - LexemeAttributeValue, Gender, LexemeAttribute | |
12 | + LexemeAttributeValue, Gender, LexemeAttribute, visible_vocabularies | |
13 | 13 | from dictionary.forms import LexemeEditForm, LIPEditForm, ClassificationForm, \ |
14 | 14 | CrossReferenceForm, ActionFieldForm, ACTION_FIELDS,\ |
15 | 15 | LexemeOpenAttributeForm, LexemeClosedAttributeForm, \ |
... | ... | @@ -164,7 +164,7 @@ def lexeme_edit_form(request, id): |
164 | 164 | lip.qualifiers.filter(vocabulary=owner) if ro_owner else []) |
165 | 165 | for lip in lips] |
166 | 166 | crs = l.refs_to.order_by('type__index').filter( |
167 | - to_lexeme__vocabularies__in=visible_qualifiers(request.user)) | |
167 | + to_lexeme__vocabularies__in=visible_vocabularies(request.user)) | |
168 | 168 | to_return['cross_references'] = crs |
169 | 169 | return to_return |
170 | 170 | |
... | ... |