Skip to content

Commit

Permalink
Add default page to loi queries
Browse files Browse the repository at this point in the history
  • Loading branch information
vharmain committed Jan 1, 2025
1 parent 98c912d commit d467560
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp/src/clj/lipas/backend/api/v2.clj
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@

(defn ->lois-query
[{:keys [page page-size statuses types categories]
:or {page-size 10}}]
:or {page 1
page-size 10}}]
{:from (* (dec page) page-size)
:size page-size
:track_total_hits 50000
Expand Down

0 comments on commit d467560

Please sign in to comment.