changeset 8092 | 4ba8cb75d925 |
parent 8026 | 5a9d491cc714 |
child 8145 | 13e075549cb3 |
--- a/plugins/mod_storage_internal.lua Sat Apr 15 02:10:49 2017 +0200 +++ b/plugins/mod_storage_internal.lua Sat Apr 15 02:27:07 2017 +0200 @@ -67,6 +67,11 @@ local i = 0; if query then items = array(items); + if query.key then + items:filter(function (item) + return item.key == query.key; + end); + end if query.with then items:filter(function (item) return item.with == query.with;