pf_app/routes
Paul Trowbridge 401b6b9b42 Define sliceUnits, which recode and clone have always called
55814ee introduced calls to sliceUnits() in the recode and clone routes
without ever defining it, so both have thrown "sliceUnits is not defined"
since that commit. Scale worked only because it inlined the same three lines
rather than calling the helper.

Defined from scale's copy, and scale now calls it too. Recode and clone
passed req.body.apply_mode straight through, where scale normalised it
first, so an absent or unrecognised value would have fallen to the 'each'
branch by accident; they normalise the same way now.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 00:11:35 -04:00
..
auth.js Put the app behind a login 2026-09-14 22:20:25 -04:00
log.js Stop totalling log entries the change log does not show 2026-09-16 23:31:49 -04:00
operations.js Define sliceUnits, which recode and clone have always called 2026-09-17 00:11:35 -04:00
sources.js Complete key dimension values as you type them in recode and clone 2026-09-16 23:55:37 -04:00
tables.js Expose pf_note/pf_op in forecast data; fix tables list duplicates 2026-04-28 19:51:45 -04:00
versions.js Complete recode values from the version, not the source view 2026-09-17 00:03:05 -04:00