mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 02:13:15 +00:00
update
This commit is contained in:
@@ -148,7 +148,7 @@ class LegacyRecordRepository implements RecordRepository
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($max_items){
|
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');
|
->addOrderBy('s.ord', 'ASC');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user