Adds totals
This commit is contained in:
@@ -83,8 +83,9 @@
|
||||
:sort sort)
|
||||
(let [start (or start 0)
|
||||
per-page (or per-page 25)
|
||||
[entities total] ((:fetch-page grid-spec)
|
||||
request)]
|
||||
[entities total :as page-results] ((:fetch-page grid-spec)
|
||||
request)
|
||||
request (assoc request :page-results page-results)]
|
||||
|
||||
(com/data-grid-card {:id (:id grid-spec)
|
||||
:title (if (string? (:title grid-spec))
|
||||
|
||||
Reference in New Issue
Block a user