Allow searching apps by ID
This commit is contained in:
parent
629061d00a
commit
3a494033d2
|
@ -422,6 +422,11 @@ OC.Settings.Apps = OC.Settings.Apps || {
|
||||||
return app.name.toLowerCase().indexOf(query) !== -1;
|
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
|
// App Description
|
||||||
apps = apps.concat(_.filter(OC.Settings.Apps.State.apps, function (app) {
|
apps = apps.concat(_.filter(OC.Settings.Apps.State.apps, function (app) {
|
||||||
return app.description.toLowerCase().indexOf(query) !== -1;
|
return app.description.toLowerCase().indexOf(query) !== -1;
|
||||||
|
|
Loading…
Reference in New Issue