]> source.dussan.org Git - nextcloud-server.git/commitdiff
Allow searching apps by ID
authorJoas Schilling <nickvergessen@owncloud.com>
Thu, 7 Jan 2016 15:33:25 +0000 (16:33 +0100)
committerJoas Schilling <nickvergessen@owncloud.com>
Thu, 7 Jan 2016 15:33:25 +0000 (16:33 +0100)
settings/js/apps.js

index 9782fafd2bde44b04570eaca0626454d1a7b349c..85627e613c649014c79f96e3746cf71129cf1dd6 100644 (file)
@@ -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;