mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 13:07:08 +00:00
Return only real files from sequence list endpoint.
In other words, filter out real-time data.
This commit is contained in:
@@ -34,12 +34,14 @@ async function list (projectId, opts = {}) {
|
||||
SELECT sequence, array_agg(DISTINCT path) files
|
||||
FROM raw_shots rs
|
||||
LEFT JOIN files f USING (hash)
|
||||
WHERE hash NOT LIKE '*%'
|
||||
GROUP BY sequence
|
||||
),
|
||||
ff AS (
|
||||
SELECT sequence, array_agg(DISTINCT path) files
|
||||
FROM final_shots fs
|
||||
LEFT JOIN files f USING (hash)
|
||||
WHERE hash NOT LIKE '*%'
|
||||
GROUP BY sequence
|
||||
)
|
||||
SELECT
|
||||
|
||||
Reference in New Issue
Block a user