#48 Changes autocomplete

* changes the autocomplete route for user retrieving from _istartswith to full qualified check
* extends the help text for form to inform about full qualified username needed
* updates translation
This commit is contained in:
2021-12-14 13:55:08 +01:00
parent 7edad208a1
commit 8b17ab6fdc
5 changed files with 6 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ class ShareModalForm(BaseModalForm):
user_select = forms.ModelMultipleChoiceField(
label=_("Add user to share with"),
label_suffix="",
help_text=_("Multiple selection possible - You can only select users which do not already have access"),
help_text=_("Multiple selection possible - You can only select users which do not already have access. Enter the full username."),
required=False,
queryset=User.objects.all(),
widget=autocomplete.ModelSelect2Multiple(