mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 03:52:15 +09:00
Fix #2335 allow selecting a category as default
This commit is contained in:
parent
d3415b5e01
commit
684b86a636
11 changed files with 106 additions and 29 deletions
12
modules/document/queries/updateCategoryIsDefault.xml
Normal file
12
modules/document/queries/updateCategoryIsDefault.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<query id="updateCategoryIsDefault" action="update">
|
||||
<tables>
|
||||
<table name="document_categories" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="is_default" var="is_default" default="N" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="module_srl" var="module_srl" filter="number" notnull="notnull" />
|
||||
<condition operation="notequal" column="category_srl" var="except_category_srl" filter="number" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue