summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-07 16:43:47 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-07 16:43:47 +0100
commit5b22ee4c05c26f977794daed05364331d8eb4987 (patch)
treee173464448989e6141990652a1e08ab092be5511
parent629061d00a936b1755d06f7cb98cd12be06718af (diff)
parent3a494033d2c8b30cb5cb2da52c0bfc699618e61f (diff)
downloadnextcloud-server-5b22ee4c05c26f977794daed05364331d8eb4987.tar.gz
nextcloud-server-5b22ee4c05c26f977794daed05364331d8eb4987.zip
Merge pull request #21512 from owncloud/allow-searching-by-app-id
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;