Bug 37463

Summary: Include cover images from Amazon on staff interface check out screen for specific patron categories
Product: Koha Reporter: Danyon Sewell <danyonsewell>
Component: CirculationAssignee: Danyon Sewell <danyonsewell>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: aleisha, gmcharlt, kebliss, kyle.m.hall, roman.dolny, wainuiwitikapark
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 37463: Adding system preference.
Bug 37463: Adding system preference.
Bug 37463: Adding system preference.
Bug 37463: Adding system preference.
Bug 37463: Adding system preference.
Bug 37463: Show Amazon cover images in checkouts table for selected patron categories
Bug 37463: Show Amazon cover images in checkouts table for selected patron categories

Description Danyon Sewell 2024-07-24 23:53:19 UTC
We would like to request an enhancement for cover images to be visible on the check out/issues screen a the time of issuing books.
We would like this option to be enabled for specific borrower categories, eg we would enable for student and staff categories, but not for general borrower categories such as Library trollies.
Comment 1 Danyon Sewell 2024-07-29 04:31:24 UTC
Created attachment 169807 [details] [review]
Bug 37463: Adding system preference.
Comment 2 Danyon Sewell 2024-07-29 04:34:17 UTC
Created attachment 169808 [details] [review]
Bug 37463: Adding system preference.
Comment 3 Danyon Sewell 2024-07-29 04:36:13 UTC
Created attachment 169809 [details] [review]
Bug 37463: Adding system preference.
Comment 4 Danyon Sewell 2024-07-30 01:33:36 UTC
Created attachment 169852 [details] [review]
Bug 37463: Adding system preference.
Comment 5 Danyon Sewell 2024-08-20 05:16:05 UTC
Created attachment 170492 [details] [review]
Bug 37463: Adding system preference.

This patch allows cover images to display in the patron checkout module for selected patron categories but only ones from Amazon for now.

Test plan:
Step 1 - apply this patch
Step 2 - Make sure AmazonCoverImages syspref is set to "show"
step 3 - Search for the CoverImagesCategories syspref and enable it for a specific patron category (choose the category that your patron account is)
step 4 - checkout an item to your patron account
step 5 - in the patron checkouts page, click the "show checkouts" button, you should see the items cover image there, as long as there is one available from Amazon
Comment 6 Danyon Sewell 2024-08-20 22:09:34 UTC
Bug 37463: Adding system preference.

This patch allows cover images to display in the patron checkout module for selected patron categories but only ones from Amazon for now.

Test plan:
Step 1 - apply this patch
Step 2 - Make sure AmazonCoverImages syspref is set to "show"
step 3 - Search for the CoverImagesCategories syspref and enable it for a specific patron category (choose the category that your patron account is)
step 4 - checkout an item to your patron account
step 5 - in the patron checkouts page, click the "show checkouts" button, you should see the items cover image there, as long as there is one available from Amazon

Sponsored by: Pymble Ladies College
Comment 7 Roman Dolny 2024-08-22 19:02:22 UTC
Applying: Bug 37463: Adding system preference.
.git/rebase-apply/patch:92: trailing whitespace.
                        + '.01.LZZZZZZZ.jpg" title="Amazon cover image"><img src="https://images-na.ssl-images-amazon.com/images/P/'
.git/rebase-apply/patch:93: trailing whitespace.
                        + oObj.isbn
.git/rebase-apply/patch:116: trailing whitespace.

error: sha1 information is lacking or useless (installer/data/mysql/atomicupdate/bug_37463-add_SCOCoverImagesCategories_syspref.pl).
error: could not build fake ancestor
Patch failed at 0001 Bug 37463: Adding system preference.
Comment 8 Danyon Sewell 2024-08-22 22:18:06 UTC
Created attachment 170623 [details] [review]
Bug 37463: Show Amazon cover images in checkouts table for selected patron categories

This patch allows cover images to display in the patron checkout module for selected patron categories but only ones from Amazon for now.

Test plan:
Step 1 - apply this patch
Step 2 - Make sure AmazonCoverImages syspref is set to "show"
step 3 - Search for the CoverImagesCategories syspref and enable it for a specific patron category (choose the category that your patron account is)
step 4 - checkout an item to your patron account
step 5 - in the patron checkouts page, click the "show checkouts" button, you should see the items cover image there, as long as there is one available from Amazon
Comment 9 Roman Dolny 2024-08-23 22:01:49 UTC
Created attachment 170686 [details] [review]
Bug 37463: Show Amazon cover images in checkouts table for selected patron categories

This patch allows cover images to display in the patron checkout module for selected patron categories but only ones from Amazon for now.

Test plan:
Step 1 - apply this patch
Step 2 - Make sure AmazonCoverImages syspref is set to "show"
step 3 - Search for the CoverImagesCategories syspref and enable it for a specific patron category (choose the category that your patron account is)
step 4 - checkout an item to your patron account
step 5 - in the patron checkouts page, click the "show checkouts" button, you should see the items cover image there, as long as there is one available from Amazon

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>