This commit is contained in:
aina-esokia
2018-10-24 16:12:56 +04:00
parent 103b8f7265
commit 415b0fcc27

View File

@@ -148,7 +148,7 @@ class LegacyRecordRepository implements RecordRepository
}
if($max_items){
$builder->having('s.ord >= '. $offset .' and ord < '. ($offset + $max_items))
$builder->having('s.ord >= '. $offset .' and s.ord < '. ($offset + $max_items))
->addOrderBy('s.ord', 'ASC');
}