Skip to content

Commit

Permalink
fix bulk print url
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanqui committed Aug 15, 2024
1 parent 874c09c commit 495f31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rhinventory/templates/admin/asset/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
document.getElementById('selected-count').innerHTML = selected.length;

let reversed_selected = selected.slice().reverse();
document.getElementById("selected-print-labels").href = "{{ hhprint_url() }}&labels=" + reversed_selected.map(asset_id => asset_id + "-{{g.current_user_organization_label}}").join(";");
document.getElementById("selected-print-labels").href = "{{ hhprint_url() }}&codes=" + reversed_selected.map(asset_id => asset_id + "-{{g.current_user_organization_label}}").join(";");
}

function updateSelected() {
Expand Down

0 comments on commit 495f31a

Please sign in to comment.