Commit 88a96c25 authored by Ilham Maulana's avatar Ilham Maulana 💻

feat: paging book list

parent fc2551fa
......@@ -31,7 +31,7 @@ class BookProvider with ChangeNotifier {
url += '?category=$filterByCategory';
} else if (searchKeyword != null) {
url += "?search=$searchKeyword";
} else if (pageNumber != null) {
} else if (pageNumber > 1) {
url += "?page=$pageNumber";
}
......
Markdown is supported
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