Add sorting for delete in Search\Index
This commit is contained in:
parent
a2410a371a
commit
e18280fbb0
1 changed files with 4 additions and 0 deletions
|
@ -106,6 +106,10 @@ class Index extends Method
|
|||
continue;
|
||||
}
|
||||
|
||||
if (\count($list) > 1) {
|
||||
\sort($list, \SORT_NUMERIC);
|
||||
}
|
||||
|
||||
$vars = [
|
||||
':pid' => $post->id,
|
||||
':subj' => 's' === $key ? 1 : 0,
|
||||
|
|
Loading…
Reference in a new issue