Skip to content
Snippets Groups Projects
Commit 7a092170 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

oops. wrong column name.

parent 5aa24f84
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@
(checkp (integer? id) "id" (format "id is required parameter when filter mode is '%s'" (name f)))
(case f
:database (read-check Database id)
:table (read-check Database (:db_id (sel :one :fields [Table :database_id])))))
:table (read-check Database (:db_id (sel :one :fields [Table :db_id])))))
(-> (case (or f :all) ; default value for `f` is `:all`
:all (sel :many Card (k/order :name :ASC) (k/where (or {:creator_id *current-user-id*}
{:public_perms [> common/perms-none]})))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment