From 2a1b4ece6b5c38a93b58102cc978b6307807f6ca Mon Sep 17 00:00:00 2001 From: j Date: Mon, 20 Feb 2017 16:54:03 +0100 Subject: [PATCH] fix icon find --- static/js/listDialog.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/listDialog.js b/static/js/listDialog.js index 80d12e9b..e9a9eb2c 100644 --- a/static/js/listDialog.js +++ b/static/js/listDialog.js @@ -619,12 +619,14 @@ pandora.ui.listIconPanel = function(listData) { pandora.api.find(Ox.extend(data, { query: { conditions: ( - Ox.contains(pandora.site.listSections, ui.section) + ui.section == 'items' ? [{key: 'list', value: listData.id, operator: '=='}] : []).concat( value !== '' ? [{key: key, value: value, operator: '='}] : [] + ).concat( + [{key: 'duration', value: '00:00:00', operator: '>'}] ), operator: '&' }