From 3a494033d2c8b30cb5cb2da52c0bfc699618e61f Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 7 Jan 2016 16:33:25 +0100 Subject: Allow searching apps by ID --- settings/js/apps.js | 5 +++++ 1 file changed, 5 insertions(+) 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; -- cgit v1.2.3