LP1760599: Only show merge records action when multiple bucket records selected
authorJane Sandberg <sandbej@linnbenton.edu>
Thu, 6 Dec 2018 23:49:40 +0000 (15:49 -0800)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 23 May 2019 21:32:24 +0000 (17:32 -0400)
commit9dfd0466c9cc721790ebc914b2041f762ab23cea
tree3c108a4cf53697ff9473514c9bcbef839db19f5f
parent649f4a3d5e7c4d91f62dd0b055224dff2cb6ad12
LP1760599: Only show merge records action when multiple bucket records selected

To test:
1) Create a bucket.
2) Select one record from your bucket. Right-click on your record or click on the Actions drop-down.
3) Note that "Merge Selected Records" is clickable.
4) Apply this commit.
5) Repeat steps 2-3.  Note that "Merge Selected Records" is no longer
clickable, unless you select two or more records.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/cat/bucket/record/t_view.tt2
Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js