Alert Message column in Item Buckets

Bug #1812866 reported by Terran McCanna
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

3.2.2:

Alert Message is not available as a column in Item Buckets

Revision history for this message
Michele Morgan (mmorgan) wrote :

Note that the xul "Alert Message" field is available and should not be, the web client "Alerts" field is not available.

tags: added: buckets
Revision history for this message
Terran McCanna (tmccanna) wrote :

This adds a new column called Item Alerts to the copy buckets grid (regular grid and pending grid) that displays the 'note' for all alerts that are attached to that item.

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/mccanna/lp1812866_copy_bucket_item_alerts

(The brackets are a side effect of the fact that an item can have multiple alerts and I'm not sure how to make that prettier, but at least the data available.)

tags: added: pullrequest
Changed in evergreen:
milestone: none → 3.6.2
Revision history for this message
Mike Risher (mrisher) wrote :

Which page should I be seeing your changes on? I'm applying the patch then I'm visiting Cataloging -> Item Buckets. Then I select a bucket. There's only 4 fields on the grid: name, call number, location, title

Let me know if I need to be checking some other page or if I need to do some extra steps before I see the new column.

Revision history for this message
Terran McCanna (tmccanna) wrote :

You'll need to use the column picker to display the Item Alerts column.

Also, you'll need to add alerts to the items in the bucket (by editing them) in order to see anything in the column.

Revision history for this message
Elaine Hardy (ehardy) wrote :

Testing this, I added item alerts to an item bucket columns. (alert messages choice doesn't have any display)

If no alert is on the item, [] (double square brackets display.
I then added alerts to some copies (see bucket #1). Alerts displayed as ["Test CONC70000337 "]
Items with 2 alerts display as ["Test CONC4100037 ","2nd alert message"]

When I deleted a message, in Holdings view, the count in the Alerts column didn't change (outside of the scope if this bug report, see https://bugs.launchpad.net/evergreen/+bug/1843087). In the item bucket, the deleted message still displays. See item CONC41000537 in bucket #1

Revision history for this message
Terran McCanna (tmccanna) wrote :

Ah, so when you clear a message, it's not actually deleting it. Hmm.

tags: added: needsrepatch
removed: pullrequest
Changed in evergreen:
milestone: 3.6.2 → 3.6.3
Changed in evergreen:
milestone: 3.6.3 → none
Changed in evergreen:
assignee: nobody → Terran McCanna (tmccanna)
Revision history for this message
Terran McCanna (tmccanna) wrote :

Noting that the item status list view handles this nicely by showing the number of uncleared item alerts along with a button for managing those alerts that pops open a modal.

The uncleared item alert number is determined by filtering out the item alerts that have an acknowledgement stamp:

$scope.copy_alert_count = itemSvc.copy.copy_alerts().filter(function(aca) {
                return !aca.ack_time();
            }).length;

Changed in evergreen:
assignee: Terran McCanna (tmccanna) → nobody
Elaine Hardy (ehardy)
tags: added: buckets-item
removed: buckets
tags: added: needswork
removed: needsrepatch
Revision history for this message
Elaine Hardy (ehardy) wrote :

Deleted alert notes still display in item buckets in 3.8

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.