mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
Don't autoselect deleted page on the first projects query (backend).
This commit is contained in:
@@ -41,7 +41,7 @@ select distinct
|
||||
inner join project_shares as ps
|
||||
on (ps.project = pr.id)
|
||||
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
|
||||
and pr."user" = :user
|
||||
window win as (partition by pr.id
|
||||
|
||||
Reference in New Issue
Block a user