Skip to content

Commit

Permalink
bulk update: sort fields alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
jdetaeye committed Jan 10, 2024
1 parent 387f563 commit 9b7c00e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion freppledb/common/static/js/frepple.js
Original file line number Diff line number Diff line change
Expand Up @@ -1899,7 +1899,7 @@ var grid = {
hideModal('timebuckets');
$.jgrid.hideModal("#searchmodfbox_grid");
var thegrid = $("#grid");
var colModel = thegrid.jqGrid('getGridParam', 'colModel');
var colModel = thegrid.jqGrid('getGridParam', 'colModel').sort((a, b) => a.label.localeCompare(b.label));

var selectedrows = thegrid.jqGrid('getGridParam', 'selarrrow')
var recordcount = selectedrows.length;
Expand Down
2 changes: 1 addition & 1 deletion freppledb/common/static/js/frepple.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion freppledb/common/static/js/frepple.min.js.map

Large diffs are not rendered by default.

0 comments on commit 9b7c00e

Please sign in to comment.