diff options
Diffstat (limited to 'src/chef/pages/admin.clj')
-rw-r--r-- | src/chef/pages/admin.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chef/pages/admin.clj b/src/chef/pages/admin.clj index 25f99a6..8ffadcc 100644 --- a/src/chef/pages/admin.clj +++ b/src/chef/pages/admin.clj @@ -89,7 +89,7 @@ (jdbc/execute! @cdb/db))) (->> (sql/format {:select [:*] :from [:categories] - :where [:and [:is :parent :null] [:> :id 0]]}) + :where [:= :parent -1]}) (jdbc/execute! @cdb/db)))] [:h2 "Rezepte"] [:table |