projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2126bf5
)
Fix article sort fields are affected other categories
author
Joshua Rüsweg
<josh@bastelstu.be>
Mon, 6 Aug 2018 11:49:31 +0000
(13:49 +0200)
committer
Joshua Rüsweg
<josh@bastelstu.be>
Mon, 6 Aug 2018 11:49:31 +0000
(13:49 +0200)
See #2508
com.woltlab.wcf/templateListener.xml
patch
|
blob
|
blame
|
history
diff --git
a/com.woltlab.wcf/templateListener.xml
b/com.woltlab.wcf/templateListener.xml
index 4b08593111cce709bf5c8af7ee0ee82016c048d2..ee8a1395581ecc76b1cad81db45377420406354d 100644
(file)
--- a/
com.woltlab.wcf/templateListener.xml
+++ b/
com.woltlab.wcf/templateListener.xml
@@
-5,7
+5,7
@@
<environment>admin</environment>
<templatename>categoryAdd</templatename>
<eventname>dataFields</eventname>
- <templatecode><![CDATA[{i
nclude file='__articleSortField'
}]]></templatecode>
+ <templatecode><![CDATA[{i
f $objectType->objectType == "com.woltlab.wcf.article.category"}{include file='__articleSortField'}{/if
}]]></templatecode>
</templatelistener>
</import>
<delete>