summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-01-07 16:33:25 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-01-07 16:33:25 +0100
commit3a494033d2c8b30cb5cb2da52c0bfc699618e61f (patch)
treee173464448989e6141990652a1e08ab092be5511
parent629061d00a936b1755d06f7cb98cd12be06718af (diff)
downloadnextcloud-server-3a494033d2c8b30cb5cb2da52c0bfc699618e61f.tar.gz
nextcloud-server-3a494033d2c8b30cb5cb2da52c0bfc699618e61f.zip
Allow searching apps by ID
-rw-r--r--settings/js/apps.js5
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;