This commit is contained in:
j 2020-05-16 10:46:31 +02:00
parent b9b109a2c8
commit d2eeadf860

View file

@ -74,7 +74,7 @@ pandora.ui.filterForm = function(options) {
function autocompleteFunction(key) {
return key.autocomplete ? function(value, callback) {
pandora.api[
pandora.user.ui.sections == 'documents'
pandora.user.ui.section == 'documents'
? 'autocompleteDocuments'
: 'autocomplete'
]({