LP1760599: Only show merge records action when multiple bucket records selected user/rogan/lp1760599
authorJane Sandberg <sandbej@linnbenton.edu>
Thu, 6 Dec 2018 23:49:40 +0000 (15:49 -0800)
committerRogan Hamby <rogan.hamby@gmail.com>
Tue, 5 Mar 2019 21:00:46 +0000 (16:00 -0500)
commit87530026735438d9c36a0a0cb6e3d5e2df32123c
tree750146e144311b411304620458d30bb305fb8526
parent8c3537565269c854390cdb92c4a4bd6bd550a317
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>
Open-ILS/src/templates/staff/cat/bucket/record/t_view.tt2
Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js