]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1821382 Grid showDeclaredFieldsOnly option; sort repair.
authorBill Erickson <berickxx@gmail.com>
Fri, 29 Mar 2019 16:47:27 +0000 (16:47 +0000)
committerDan Wells <dbw2@calvin.edu>
Wed, 29 May 2019 19:32:20 +0000 (15:32 -0400)
commita0e96d688852045bfa94c413af524c1ff9268f20
treee3db90252db36364b692bb32e6bfd4d3095c0bb6
parentdeeb730a570714e79239929a545e14c1be5d9b6d
LP1821382 Grid showDeclaredFieldsOnly option; sort repair.

Adds a @Input() showDeclaredFieldsOnly option which tells the grid to
avoid showing auto-generated columns by default and only show those
declared in the markup.

Also repairs a grid column sorting/insert bug where declared columns
would be displayed in the wrong order when mixed with auto columns.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/eg2/src/app/share/grid/grid.component.ts
Open-ILS/src/eg2/src/app/share/grid/grid.ts