diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-07 16:33:25 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-07 16:33:25 +0100 |
commit | 3a494033d2c8b30cb5cb2da52c0bfc699618e61f (patch) | |
tree | e173464448989e6141990652a1e08ab092be5511 /settings | |
parent | 629061d00a936b1755d06f7cb98cd12be06718af (diff) | |
download | nextcloud-server-3a494033d2c8b30cb5cb2da52c0bfc699618e61f.tar.gz nextcloud-server-3a494033d2c8b30cb5cb2da52c0bfc699618e61f.zip |
Allow searching apps by ID
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/apps.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index 9782fafd2bd..85627e613c6 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -422,6 +422,11 @@ OC.Settings.Apps = OC.Settings.Apps || { 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 apps = apps.concat(_.filter(OC.Settings.Apps.State.apps, function (app) { return app.description.toLowerCase().indexOf(query) !== -1; |