Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-01-07 18:33:25 +0300
committerJoas Schilling <nickvergessen@owncloud.com>2016-01-07 18:33:25 +0300
commit3a494033d2c8b30cb5cb2da52c0bfc699618e61f (patch)
treee173464448989e6141990652a1e08ab092be5511 /settings
parent629061d00a936b1755d06f7cb98cd12be06718af (diff)
Allow searching apps by ID
Diffstat (limited to 'settings')
-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;