Commit 76e2be2e authored by Łukasz Nowak's avatar Łukasz Nowak

Autogenerate validation_state related key.

As it is possible to do category_simulation_state=..., it shall be possible to
do same relation based on validation_state.
parent ff0b2edc
...@@ -834,7 +834,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject): ...@@ -834,7 +834,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
# accept only some catalog columns # accept only some catalog columns
if end_key in ('title', 'uid', 'description', 'reference', if end_key in ('title', 'uid', 'description', 'reference',
'relative_url', 'id', 'portal_type', 'relative_url', 'id', 'portal_type',
'simulation_state'): 'simulation_state', 'validation_state'):
if strict: if strict:
pattern = '%s%s | category,catalog/%s/z_related_strict_%s%s' pattern = '%s%s | category,catalog/%s/z_related_strict_%s%s'
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment