fix(publish items): Filter out disabled items (#15268)
This commit is contained in:
parent
49f9747385
commit
00f6aef947
@ -50,6 +50,7 @@ def get_valid_items(search_value=''):
|
|||||||
'Item',
|
'Item',
|
||||||
fields=["*"],
|
fields=["*"],
|
||||||
filters={
|
filters={
|
||||||
|
'disabled': 0,
|
||||||
'item_name': ['like', '%' + search_value + '%'],
|
'item_name': ['like', '%' + search_value + '%'],
|
||||||
'publish_in_hub': 0
|
'publish_in_hub': 0
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user