https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36966

David Nind <da...@davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |da...@davidnind.com

--- Comment #10 from David Nind <da...@davidnind.com> ---
I think this works... but it seems the only way to replace the item-level image
is via Edit > Upload image.

Before patch applied:

0. Enable LocalCoverImages system preference

1. Upload a record-level image:
   1.1 Upload a record-level image: Images tab > Upload
   1.2 Upload an item-level image: Holding stab > Edit > Upload image > [use a
different image from the record-level one)
   ==> Result: Different record-level and item-level images

2. Replace the item-level image (Edit > Upload image):
   2.1 Replace the item-level cover image: Holdings tab > Edit > Upload image >
[use a different image from the record-level image]
   ==> Result: item-level image replaced (as expected)

3. Replace the item-level image (click on cover image in holdings table):
   3.1 Attempt to replace the item-level image: click on the item-level cover
under the cover image column > click edit in the light-box viewer > get error
trace:
    Can't call method "biblionumber" on an undefined value at
/kohadevbox/koha/catalogue/imageviewer.pl line 42

After the patches are applied:

1. Repeat 3.1: displays all existing images (record and item-level images), and
can "Drop files here or click to select a file". Drag and drop a replacement
image: 
   ==> Result: 
       . Record-level image replaced
       . For search results, item-level image displayed

Hope I haven't confused things!

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to