Commit 10ec0f51 authored by Łukasz Nowak's avatar Łukasz Nowak

Do not return 0 quantity movements.

parent b2ff859b
...@@ -99,8 +99,9 @@ base_category_uid\r\n ...@@ -99,8 +99,9 @@ base_category_uid\r\n
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
select\n select\n
catalog.uid, catalog.path from catalog\n catalog.uid, catalog.path from catalog, movement\n
where\n where\n
movement.uid = catalog.uid AND movement.quantity <> 0 AND \n
catalog.uid not in (\n catalog.uid not in (\n
select category.category_uid from category where category.base_category_uid=<dtml-var base_category_uid>)\n select category.category_uid from category where category.base_category_uid=<dtml-var base_category_uid>)\n
and (<dtml-in simulation_state_list>\n and (<dtml-in simulation_state_list>\n
......
456 457
\ No newline at end of file \ No newline at end of file
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