feature #6: Add simple test for article routes

This commit is contained in:
2019-07-31 23:42:46 +02:00
parent 61da1df9d0
commit 7acb2b3e40
4 changed files with 65 additions and 23 deletions

View File

@@ -16,7 +16,7 @@ begin
a.*,
find_citizen_by_id(a.created_by_id) as created_by
from article as a
where title ilike '%'||"search"||'%'
where "search" is null or title ilike '%'||"search"||'%'
order by
case direction when 'asc' then
case sort