discoveries order

Former-commit-id: 74249dc7174693022070249414d0fcb2af3e4c9a
This commit is contained in:
Roman Volosovskyi 2016-05-13 15:52:02 +03:00
parent f9cee873d1
commit 3fc884db25

View File

@ -69,8 +69,7 @@
(->> (-> (r/get-all :discoveries)
(r/sorted :last-updated :desc)
r/collection->map)
(map #(update % :tags vals))
(into '())))
(map #(update % :tags vals))))
(defn- add-discoveries [discoveries]
(realm/write (fn []