Bug 35303: (bug 26916 follow-up) Fix paton autocomplete
Fix the following JS error: Uncaught TypeError: search_fields.forEach is not a function Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
771334218a
commit
62425b0d85
|
|
@ -605,7 +605,7 @@ function buildPatronSearchQuery(term, options) {
|
|||
});
|
||||
// If not, we use DefaultPatronSearchFields system preference instead
|
||||
} else {
|
||||
search_fields = defaultPatronSearchFields;
|
||||
search_fields = defaultPatronSearchFields.split('\|');
|
||||
}
|
||||
|
||||
// Add each pattern for each search field
|
||||
|
|
|
|||
Loading…
Reference in New Issue