Merge pull request #21512 from owncloud/allow-searching-by-app-id
Allow searching apps by ID
This commit is contained in:
commit
5b22ee4c05
|
@ -422,6 +422,11 @@ OC.Settings.Apps = OC.Settings.Apps || {
|
||||||
return app.name.toLowerCase().indexOf(query) !== -1;
|
return app.name.toLowerCase().indexOf(query) !== -1;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// App ID
|
||||||
|
apps = apps.concat(_.filter(OC.Settings.Apps.State.apps, function (app) {
|
||||||
|
return app.id.toLowerCase().indexOf(query) !== -1;
|
||||||
|
}));
|
||||||
|
|
||||||
// App Description
|
// App Description
|
||||||
apps = apps.concat(_.filter(OC.Settings.Apps.State.apps, function (app) {
|
apps = apps.concat(_.filter(OC.Settings.Apps.State.apps, function (app) {
|
||||||
return app.description.toLowerCase().indexOf(query) !== -1;
|
return app.description.toLowerCase().indexOf(query) !== -1;
|
||||||
|
|
Loading…
Reference in New Issue