mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 13:37:07 +00:00
Add FIXME comment
This commit is contained in:
@@ -9,6 +9,7 @@ async function list (projectId, opts = {}) {
|
||||
const offset = Math.abs((opts.page-1)*opts.itemsPerPage) || 0;
|
||||
const limit = Math.abs(Number(opts.itemsPerPage)) || null;
|
||||
|
||||
// FIXME Move this into the database as a view or something
|
||||
const text = `
|
||||
WITH counts AS (
|
||||
SELECT pls.*, COALESCE(ppc.virgin, 0) na, COALESCE(ppc.tba, 0) tba
|
||||
|
||||
Reference in New Issue
Block a user