We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 555fa81 commit 3c05d4dCopy full SHA for 3c05d4d
src/Traits/InteractWithSearch.php
@@ -52,7 +52,7 @@ public static function getMatchByFields()
52
public static function getOrderByFields()
53
{
54
return empty(static::$sort)
55
- ? [static::newModel()->getKeyName()]
+ ? [static::newModel()->getQualifiedKeyName()]
56
: static::$sort;
57
}
58
0 commit comments