[Koha-bugs] [Bug 36220] New: Connect cover_images and uploaded_files

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 4 15:07:36 CET 2024


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

            Bug ID: 36220
           Summary: Connect cover_images and uploaded_files
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: magnus at libriotech.no
        QA Contact: testopia at bugs.koha-community.org

When a local cover image is uploaded, the image ("full" and thumbnail) and the
connection to the biblio record are stored in the "cover_images" table: 
https://schema.koha-community.org/23_11/tables/cover_images.html

Some information is also stored in the "uploaded_files" table:
https://schema.koha-community.org/23_11/tables/uploaded_files.html

Would it not make sense to connect these to, so cover_images contained a
reference to the relevant entry in  uploaded_files? That way we could also make
a connection from biblionumber to any existing files in "tmp_path" directories.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list