Removed unneeded parameter and added missing semicolon
This commit is contained in:
parent
4894c6ec44
commit
29b3b62c0d
1 changed files with 2 additions and 2 deletions
|
|
@ -147,10 +147,10 @@ $(function() {
|
|||
}
|
||||
});
|
||||
|
||||
self.performRepositorySearch = function(formElement) {
|
||||
self.performRepositorySearch = function() {
|
||||
var query = self.repositorySearchQuery();
|
||||
if (query !== undefined && query.trim() != "") {
|
||||
query = query.toLocaleLowerCase()
|
||||
query = query.toLocaleLowerCase();
|
||||
self.repositoryplugins.changeSearchFunction(function(entry) {
|
||||
return entry && (entry["title"].toLocaleLowerCase().indexOf(query) > -1 || entry["description"].toLocaleLowerCase().indexOf(query) > -1);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue