mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 21:16:37 +02:00
Don't autoselect deleted page on the first projects query (backend).
This commit is contained in:
parent
b0de23b011
commit
a8b7f79194
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ select distinct
|
||||||
inner join project_shares as ps
|
inner join project_shares as ps
|
||||||
on (ps.project = pr.id)
|
on (ps.project = pr.id)
|
||||||
left join pages as pg
|
left join pages as pg
|
||||||
on (pg.project = pr.id)
|
on (pg.project = pr.id and pg.deleted_at is null)
|
||||||
where pr.deleted_at is null
|
where pr.deleted_at is null
|
||||||
and pr."user" = :user
|
and pr."user" = :user
|
||||||
window win as (partition by pr.id
|
window win as (partition by pr.id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue