Closed ksachs closed 7 years ago
In local testing I'm finding that this is a display bug, not a more serious one: it's true that all records switch to "Waiting", but only those records whose checkbox was selected have the action performed on them. I will make a video to show what I'm seeing.
Ignore my previous comment: this is a serious bug.
Ignore my previous comment: this is the serious bug.
I can fix this tomorrow.
...in fact, it looks like the ordering of the records and the checkboxes presented to the user do not match, so selecting a subset via checkboxes results in applying the bulk operation to essentially a random subset of the records. That's really bad!
I have not yet been able to reproduce this locally. Tried with 4 different records in the HoldingPen selecting 2 of them and doing batch actions Core and Accept and only the selected ones got affected.
I think it happens only when you first select all (the checkbox next to Details) and then de-select some records. And then it's random.
Thanks, will try that now.
Found the culprit, will be fixed in https://github.com/inspirehep/inspirehep-search-js/pull/37
Expected Behavior
bulk-decision (clicking the top 'Article Decisions') should act on records selected by the check-boxes, not on all in the current filter.
Current Behavior
The counter in the 'NN article workflows with decisions to be made' is correct, corresponding to the number of checked records. But the action is performed on all filtered records.
Steps to Reproduce (for bugs)
Screenshots (if appropriate):