Skip to content

Commit f8d669e

Browse files
committed
updating model search
1 parent edc649f commit f8d669e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Traits/WithModel.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,11 @@ public function validateModel($rules = null)
7777

7878
return $validatedModel;
7979
}
80+
81+
public function updatingModelSearch()
82+
{
83+
if (method_exists($this, 'resetPage')) {
84+
$this->resetPage();
85+
}
86+
}
8087
}

0 commit comments

Comments
 (0)