mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Fix collective insights query
This commit is contained in:
@ -97,7 +97,7 @@ object QCollective {
|
|||||||
(select a.attachid as aid, a.filemetaid as fid
|
(select a.attachid as aid, a.filemetaid as fid
|
||||||
from attachment a
|
from attachment a
|
||||||
inner join item i on a.itemid = i.itemid
|
inner join item i on a.itemid = i.itemid
|
||||||
where i.cid = $coll)
|
where i.coll_id = $coll)
|
||||||
select a.fid,m.length from attachs a
|
select a.fid,m.length from attachs a
|
||||||
inner join filemeta m on m.file_id = a.fid
|
inner join filemeta m on m.file_id = a.fid
|
||||||
union distinct
|
union distinct
|
||||||
|
Reference in New Issue
Block a user