mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-01-13 00:10:13 +01:00
added folder column to a query to make tagging working
This commit is contained in:
parent
ef8060668c
commit
46ec86a070
@ -550,7 +550,7 @@ class ModelSearchSearch extends Model {
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
if(ENABLE_FOLDER_RESTRICTIONS == 1) {
|
if(ENABLE_FOLDER_RESTRICTIONS == 1) {
|
||||||
$query = $this->sphx->query("SELECT id FROM " . SPHINX_MAIN_INDEX . " WHERE id IN (" . implode(",", $id) . ")");
|
$query = $this->sphx->query("SELECT id, folder FROM " . SPHINX_MAIN_INDEX . " WHERE id IN (" . implode(",", $id) . ")");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$arr = array_merge($arr, $a, $a);
|
$arr = array_merge($arr, $a, $a);
|
||||||
|
Loading…
Reference in New Issue
Block a user