fix(publish items): Filter out disabled items (#15268)

This commit is contained in:
Faris Ansari 2018-08-30 18:54:28 +05:30 committed by Nabin Hait
parent 49f9747385
commit 00f6aef947

View File

@ -50,6 +50,7 @@ def get_valid_items(search_value=''):
'Item',
fields=["*"],
filters={
'disabled': 0,
'item_name': ['like', '%' + search_value + '%'],
'publish_in_hub': 0
},