Add SI value sorting to parts: parse Ohms/Farads/Henrys/Hz numerically
Deploy to LXC / deploy (push) Failing after 14m27s
Deploy to LXC / deploy (push) Failing after 14m27s
- New value_numeric column (double precision) stores parsed base-SI value - parseValueNumeric() handles SI prefixes (p/n/µ/m/k/M/G) for F, H, Ω, Hz - Computed on save in new/edit actions - List page sortable by value_numeric (sorts within category, nulls last) - Sort toggle added to filter bar Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
ALTER TABLE "parts" ADD COLUMN "value_numeric" double precision;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -8,6 +8,13 @@
|
||||
"when": 1782725202288,
|
||||
"tag": "0000_clear_sister_grimm",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 1,
|
||||
"version": "7",
|
||||
"when": 1782726648360,
|
||||
"tag": "0001_rainy_rictor",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user