Comment 7 for bug 1991294

Revision history for this message
Stephanie Leary (stephanieleary) wrote :

The branch for the Added Content tab is: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/sleary/LP1991294-staff-novelist-tab

The new Added Content tab currently supports only NoveList Select. Setting this up for testing is somewhat involved, as you will need to contact support first to get a staff account.

ACCOUNT SETUP

If you would like to set this branch up on a server with your institution's NoveList account, you will need to contact customer service and ask them to issue a separate set of credentials for the staff client--it does not reuse the OPAC credentials you already have in place. You will need to provide them with the URL to the staff client on any servers you want them to whitelist, including any development servers you want to use for testing.

There are four new library settings total, but only two that are essential:
staff.added_content.novelistselect.profile
staff.added_content.novelistselect.passwd
staff.added_content.novelistselect.version
staff.added_content.novelistselect.url

You should *not* need to fill in the URL setting; it is there as a future safeguard in case the script hosted on NoveList's servers is moved to a new address without proper forwarding. The version setting is not needed, assuming you want the latest version of the NoveList service.

The first time you view a bibliographic record after changing account credentials, you may need to log out and/or do a hard refresh (ctrl F5) in order to clear the cache.

GENERAL TESTING

To test this work, log in at various workstation locations to ensure the settings are working and only displaying added content where configured. Ensure that added content links both within the staff client and linking out from the staff client are functioning as expected, and that links from the OPAC remain unchanged.

The tab should behave as follows:

- If no NoveList settings are present for the OU level, the Added Content tab does not appear.
- If NoveList is set up but the bib record lacks ISBNs, or there is no NoveList content available for the work, the tab appears but it will say "No Added Content" and its star will be empty and gray.
- If NoveList is set up and content is available, the tab's star will be gold and filled in. It may take a few seconds to change when you first load the record. It will load in the background while you are viewing any other tab in the record.

Some records in the test system which have added content are:

Ready player one, bib IDs 245, 246, 247, 248
Stardust, bib ID 217
Southern gods, bib ID 212
Kraken, bib ID 225
Ghost story, bib ID 221
Throne of the crescent moon, bib ID 223
Coraline, bib ID 218

To test the absence of the Added Content tab for an OU that does not have the service, you can remove the value of either the Novelist Select profile/user setting or the Novelist Select key/password setting. (You don't have to delete both.) You will then need to log out of Evergreen and log back in. When you restore the username or password and refresh a bib record page, the Added Content tab should reappear immediately.