mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Include PC layouts in mobile layout list
This commit is contained in:
parent
2cd6140a89
commit
15b4782d53
2 changed files with 3 additions and 3 deletions
|
|
@ -134,7 +134,7 @@ class layoutModel extends layout
|
|||
}
|
||||
$args = new stdClass();
|
||||
$args->site_srl = $siteSrl;
|
||||
$args->layout_type = $layoutType;
|
||||
$args->layout_type = $layoutType === 'P' ? 'P' : 'P,M';
|
||||
$args->layout = $layout;
|
||||
$output = executeQueryArray('layout.getLayoutList', $args, $columnList);
|
||||
|
||||
|
|
@ -144,7 +144,7 @@ class layoutModel extends layout
|
|||
{
|
||||
foreach($output->data as $no => $iInfo)
|
||||
{
|
||||
if($this->isExistsLayoutFile($iInfo->layout, $layoutType))
|
||||
if($this->isExistsLayoutFile($iInfo->layout, $iInfo->layout_type))
|
||||
{
|
||||
$instanceList[] = $iInfo->layout;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="site_srl" var="site_srl" filter="number" default="0" notnull="notnull" />
|
||||
<condition operation="equal" column="layout_type" var="layout_type" default="P" pipe="and" />
|
||||
<condition operation="in" column="layout_type" var="layout_type" default="P" pipe="and" />
|
||||
<condition operation="equal" column="layout" var="layout" pipe="and" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue