chg: [internal] Disable order for hasAny method

pull/7884/head
Jakub Onderka 2021-10-23 19:54:38 +02:00
parent 0d78d0f994
commit 4997af0aa2
1 changed files with 1 additions and 0 deletions

View File

@ -3144,6 +3144,7 @@ class AppModel extends Model
'conditions' => $conditions,
'recursive' => -1,
'callbacks' => false,
'order' => [], // disable order
));
}