Skip to content
Snippets Groups Projects
Commit f75cb7c6 authored by Cam Saul's avatar Cam Saul
Browse files

I like indenting things pretty

parent 602093b4
No related branches found
No related tags found
No related merge requests found
......@@ -63,10 +63,10 @@
(->> models ; otherwise get the corresponding search choice maps
(map keyword)
(map search-choices)))
results (results-for-models models q)
offset (* results_per_page (- page 1))
num-results (count results)
num-pages (math/ceil (/ num-results results_per_page))
results (results-for-models models q)
offset (* results_per_page (- page 1))
num-results (count results)
num-pages (math/ceil (/ num-results results_per_page))
page-results (->> results
(drop offset)
(take results_per_page))]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment