Web Client: Available holds in patron account

Bug #1528916 reported by Terran McCanna
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned
2.10
Fix Released
Undecided
Unassigned
2.11
Fix Released
Undecided
Unassigned

Bug Description

Wish list: It would be more user friendly if the display of the number of holds in the patron account on was available / total rather than total / available like it is now. (see attachment)

Revision history for this message
Terran McCanna (tmccanna) wrote :
Kyle Huckins (khuckins)
Changed in evergreen:
assignee: nobody → Kyle Huckins (khuckins)
Kyle Huckins (khuckins)
tags: added: pullrequest
Revision history for this message
Kyle Huckins (khuckins) wrote :

I've added a commit here: http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/khuckins/lp1528916-available-holds-in-patron-account

I switched the places of patron_stats().holds.ready and patron_stats().holds.total in the holds tab, as well as the side bar for consistency. In anticipation of a planned fix for https://bugs.launchpad.net/evergreen/+bug/1527770, I've also made use of spans using ng-bind, rather than {{ }}.

Bill Erickson (berick)
Changed in evergreen:
status: New → Confirmed
assignee: Kyle Huckins (khuckins) → nobody
Revision history for this message
Bill Erickson (berick) wrote :

Any other opinions out there on the use of ng-bind over the traditional {{ }} notation? I'd be a little surprised if we solve bug #1527770 through ng-bind alone, so I'm not sure if this is helping or creating a confusing bit of inconsistency.

Revision history for this message
Mike Rylander (mrylander) wrote :

Bill, I agree. Unless ng-bind is the way you spell {{}} in ng2, I think we should use {{}}. IIRC, there is supposed to be a way to keep ngview from rendering until the controller is completely hooked up? (re the other bug...)

Revision history for this message
Bill Erickson (berick) wrote :

Confirmed ng2 continues to use {{ }}.

Kyle, I suggest we stick to the status quo of using {{ }} instead of ng-bind for consistency.

Revision history for this message
Kyle Huckins (khuckins) wrote :

Sounds good, I'll send up a fix to my commit to bring it back to the status quo, and make sure future commits stick to {{}}.

Revision history for this message
Kyle Huckins (khuckins) wrote :

Fix pushed up, same link as before will work get to it

Revision history for this message
Bill Erickson (berick) wrote :

Thanks, Kyle.

Added milestones.

Changed in evergreen:
milestone: none → 2.11.1
Revision history for this message
Kathy Lussier (klussier) wrote :

Thank you Kyle! It looks good to me. Merged to master for inclusion in 2.12.

Revision history for this message
Kathy Lussier (klussier) wrote :

I just noticed the milestones for 2.10 and 2.11, so I've backported to those releases as well. I'm also adding Kyle to https://wiki.evergreen-ils.org/doku.php?id=contributing:contributors since I believe this is his first commit to the Evergreen project. Congrats!

Changed in evergreen:
status: Confirmed → Fix Committed
milestone: 2.11.1 → 2.next
Changed in evergreen:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Changed in evergreen:
milestone: 2.next → 2.12-beta
Changed in evergreen:
status: Fix Committed → Fix Released
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.