Skip to content

Commit

Permalink
Add namePattern condion in SQL queries of getProjectsWithLatestRevisi…
Browse files Browse the repository at this point in the history
…on().
  • Loading branch information
yoyama committed Jan 24, 2022
1 parent a9cda61 commit 2dcd284
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ public interface H2Dao
") a on a.id = rev.id" +
" where proj.site_id = :siteId" +
" and proj.name is not null" +
" and proj.name like :namePattern" +
" and <acFilter>" +
" and proj.id > :lastId" +
" order by proj.id asc" +
Expand Down Expand Up @@ -646,6 +647,7 @@ public interface PgDao
" join revisions rev on proj.id = rev.project_id" +
" where proj.site_id = :siteId" +
" and proj.name is not null" +
" and proj.name like :namePattern" +
" and <acFilter>" +
" and proj.id > :lastId" +
") as projects_with_revision" +
Expand Down

0 comments on commit 2dcd284

Please sign in to comment.