Web Client: Holds Pull List labeled as Holds Shelf on tab

Bug #1774285 reported by Jennifer Pringle
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned

Bug Description

Evergreen 3.1

The tab name for the Holds Pull List is currently "Holds Shelf". The Holds Shelf tab name is also "Holds Shelf" (as expected).

To avoid confusion the tab name for the Holds Pull List should be "Holds Pull List" or "Pull List".

Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

Screenshot of the two screens.

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

I noticed this also, but hadn't made it over to Launchpad yet. Marking Confirmed.

Changed in evergreen:
status: New → Confirmed
Revision history for this message
Remington Steed (rjs7) wrote :

This is an interesting case, since the Holds Pull List and Holds Shelf are part of the same AngularJS "app" (or "module"). The Holds template sets ctx.page_title to "Holds Shelf", but then the URL determines which controller and interface are used.

We seem to already have a mechanism for changing the page title dynamically, via egCore.strings.setPageTitle() (for an example, see staff/circ/patron/app.js), but I can't tell if that's the "right" approach for this case, since the "egCore.strings" service seems intended for use with translations. But if you called egCore.strings.setPageTitle() somewhere within HoldsPullListCtrl, I think it would work.

Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

Still an issue in 3.3

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

Remington, thanks for the notes. Here is a branch that implements changing the Pull List title. I added a egCore.strings value for 'Pull List' so a properly translated string will get added.

Working Branch at: user/stompro/lp1774285_pull_list_page_title

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

Josh

tags: added: pullrequest
Revision history for this message
Jessica Woolford (jwoolford) wrote :

I have tested this code and consent to signing off with my name, Jessica Woolford, and email, <email address hidden>

tags: added: signedoff
Changed in evergreen:
milestone: none → 3.4.3
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks for this, Josh and Jessica. It works well, and I pushed it to master and rel_3_4.

I also threw in a small follow-up commit to make the page title consistent with the header at the top of the page.

Changed in evergreen:
status: Confirmed → Fix Committed
importance: Undecided → Medium
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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