Record bucket egGrid should disable the "Merge Records" action unless two or more records are selected

Bug #1760599 reported by Jane Sandberg on 2018-04-02
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Low
Unassigned

Bug Description

On current master and 3.1.0. Merging 1 record doesn't really make sense, and the Merge Records modal enforces this. However, it would be better to not even allow the option of opening the modal until the user has selected two or more items from the record bucket grid.

Steps to re-create:
1) In Web client, go to Cataloging > Record buckets.
2) Open or create a bucket with one or more records in it.
3) Select one record from your bucket. Right-click on your record or click on the Actions drop-down.
4) "Merge Selected Records" is enabled. Expected behavior is that it be disabled.

Jane Sandberg (sandbej) wrote :

I created a branch to fix this, called user/sandbergja/lp1760599_disable_merge_records_unless_multiple_records_selected

Here's a link: http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/sandbergja/lp1760599_disable_merge_records_unless_multiple_records_selected

Here are testing instructions from the commit message:

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.

tags: added: pullrequest
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers