mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +09:00
Add initial support for all-boards notice
This commit is contained in:
parent
d1edc53b4e
commit
2b77b42480
7 changed files with 25 additions and 7 deletions
|
|
@ -332,7 +332,7 @@ class documentItem extends BaseObject
|
|||
|
||||
function isNotice()
|
||||
{
|
||||
return (bool) ($this->get('is_notice') == 'Y');
|
||||
return (bool) ($this->get('is_notice') !== 'N');
|
||||
}
|
||||
|
||||
function useNotify()
|
||||
|
|
|
|||
|
|
@ -6,9 +6,12 @@
|
|||
<column name="*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="in" column="module_srl" var="module_srl" filter="number" />
|
||||
<condition operation="equal" column="is_notice" default="Y" pipe="and" />
|
||||
<condition operation="equal" column="category_srl" var="category_srl" pipe="and" />
|
||||
<group>
|
||||
<condition operation="in" column="module_srl" var="module_srl" filter="number" />
|
||||
<condition operation="equal" column="category_srl" var="category_srl" pipe="and" />
|
||||
<condition operation="equal" column="is_notice" default="Y" pipe="and" />
|
||||
</group>
|
||||
<condition operation="equal" column="is_notice" default="A" pipe="or" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" default="list_order" order="asc" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue