Skip to content
Snippets Groups Projects
Commit 139f68c8 authored by fakihap's avatar fakihap
Browse files

fix: reset pagination

parent 44571bab
Branches
Tags
No related merge requests found
......@@ -22,6 +22,8 @@ searchtext &&
searchtext.addEventListener("keyup",
function() {
searchFilters.title = searchtext.value;
searchFilters.page = 1; // making sure the page resets to one everytime we make a new search
fetchRecipe();
}
)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment