mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Merge branch 'pr/1143' into develop
This commit is contained in:
commit
efa20eeaa0
2 changed files with 68 additions and 1 deletions
|
|
@ -224,7 +224,13 @@ class documentModel extends document
|
|||
|
||||
$this->_setSearchOption($obj, $args, $query_id, $use_division);
|
||||
|
||||
if ($sort_check->isExtraVars)
|
||||
if ($sort_check->isExtraVars && substr_count($obj->search_target,'extra_vars'))
|
||||
{
|
||||
$query_id = 'document.getDocumentListWithinExtraVarsExtraSort';
|
||||
$args->sort_index = str_replace('documents.','',$args->sort_index);
|
||||
$output = executeQueryArray($query_id, $args);
|
||||
}
|
||||
elseif ($sort_check->isExtraVars)
|
||||
{
|
||||
$output = executeQueryArray($query_id, $args);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue