Skip to content

Commit 3c05d4d

Browse files
committed
wip
1 parent 555fa81 commit 3c05d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/InteractWithSearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static function getMatchByFields()
5252
public static function getOrderByFields()
5353
{
5454
return empty(static::$sort)
55-
? [static::newModel()->getKeyName()]
55+
? [static::newModel()->getQualifiedKeyName()]
5656
: static::$sort;
5757
}
5858
}

0 commit comments

Comments
 (0)