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:29:41 +0000 (17:29 -0400)
commit7114cd60a39a0929761eca9469ce2af8fc040f00
tree05c86b5d4ccc1413c9050b8ed9dd644d5318695c
parent78389b7bc689069cec741b583cb1bd8b6353a161
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