- Small fix to MsSQL repository
This commit is contained in:
parent
e97df353ae
commit
dfb84c104d
|
@ -8,10 +8,12 @@ class MssqlRepository extends Repository {
|
|||
|
||||
protected function finalizeQuery() : void
|
||||
{
|
||||
if ( $this->queryBuilder->getFragment(Query\MsSQL\Offset::class) ) {
|
||||
if (null === $order = $this->queryBuilder->getFragment(Query\OrderBy::class)) {
|
||||
$this->orderBy("(SELECT 0)");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected function serverRequestCountRepository() : Repository
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue