mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 17:44:38 +09:00
Add button to recalculate the document count of categories
This commit is contained in:
parent
818fd54b00
commit
03de7d6392
7 changed files with 76 additions and 4 deletions
17
modules/document/queries/getCategoryDocumentCounts.xml
Normal file
17
modules/document/queries/getCategoryDocumentCounts.xml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<query id="getCategoryDocumentCounts" action="select">
|
||||
<tables>
|
||||
<table name="documents" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="module_srl" />
|
||||
<column name="category_srl" />
|
||||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="notequal" column="category_srl" default="0" />
|
||||
</conditions>
|
||||
<groups>
|
||||
<group column="module_srl" />
|
||||
<group column="category_srl" />
|
||||
</groups>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue