mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Update file count after copying document or comment with its files #2569
This commit is contained in:
parent
5e9cf872e7
commit
eaa0aee988
4 changed files with 63 additions and 2 deletions
11
modules/comment/queries/updateUploadedCount.xml
Normal file
11
modules/comment/queries/updateUploadedCount.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="updateUploadedCount" action="update">
|
||||
<tables>
|
||||
<table name="comments" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="uploaded_count" var="uploaded_count" default="0" filter="number" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="comment_srl" var="comment_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue