diff mbox series

[layerindex-web,2/3] branchcompare.html: don't submit layer checkboxes

Message ID 20261017165703.70617-2-tim.orling@konsulko.com
State New
Headers show
Series [layerindex-web,1/3] layerindex/views: BranchCompareView: fix to_branch check | expand

Commit Message

Tim Orling Oct. 17, 2026, 4:57 p.m. UTC
The selected layers are submitted via the hidden 'layers' field, which
is filled in from the checkboxes when the layer dialog is closed. The
checkboxes themselves were also named 'l', so every comparison URL
carried a redundant l=<id> parameter for each layer that the view never
used. Drop the name so only 'layers' is submitted.

AI-Generated: Claude Opus 5.5
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 templates/layerindex/branchcompare.html | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/templates/layerindex/branchcompare.html b/templates/layerindex/branchcompare.html
index 83561fd..c9fe5f5 100644
--- a/templates/layerindex/branchcompare.html
+++ b/templates/layerindex/branchcompare.html
@@ -45,7 +45,6 @@ 
                                                 <td class="checkboxtd"><input
                                                     type="checkbox"
                                                     class="filterlayercheckbox"
-                                                    name="l"
                                                     value="{{ layer.id }}" id="id_layercheckbox_{{layer.id}}"
                                                     {% if showlayers and layer.id in showlayers %}
                                                         checked