|
@@ -18,6 +18,16 @@ SET ":filter_options" = (
|
|
) q
|
|
) q
|
|
);
|
|
);
|
|
|
|
|
|
|
|
+SELECT 'card' AS component
|
|
|
|
+, 1 AS columns
|
|
|
|
+WHERE COALESCE($hash, '') <> '';
|
|
|
|
+SELECT COALESCE(type||' ','') || COALESCE(store||' ', '') || COALESCE(expiry, created) AS title
|
|
|
|
+, COALESCE(content->>'content'||' ', '') || COALESCE(content->>'type', '') AS description
|
|
|
|
+, $preview AS top_image
|
|
|
|
+, $tabler_color AS color
|
|
|
|
+WHERE COALESCE($hash, '') <> ''
|
|
|
|
+;
|
|
|
|
+
|
|
SELECT 'form' AS component
|
|
SELECT 'form' AS component
|
|
, '/code.sql' AS action
|
|
, '/code.sql' AS action
|
|
, $validate AS validate
|
|
, $validate AS validate
|