[Koha-bugs] [Bug 33568] Use the REST API to display items on the biblio detail view

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 25 23:17:52 CET 2024


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

--- Comment #66 from Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> ---
Notes from my testing:
The majority of it seems to be working as it's supposed to. I ran into a few
problems with filtering, though:

1. When using the general "Search" field at the top of the table, the filter
often failed with the error message: “Something went wrong when loading the
table: 500 Internal Server Error”. In this case, the displayed result set
remained unchanged.

    - always got the error if "Show entries" was set to a value other than
"All" and I 
      searched for a value that would return 0 results

    - always got the error if "Show entries" was set to a value other than
"All" and I 
      searched for a value that exists within the item set but was not showing
on the
      current page

    - inconsistently got the error if "Show entries" was set to a value other
than "All"
      and I searched for a value that exists within the items showing on the
current page

    - the above behavior would occur even if all of the items were showing
(e.g. bib has
      25 items and the table is set to show 50)

    - never got the error if "Show entries" was set to "All", no matter what I
searched


2. If I typed in a value and pressed the "Enter" key, in a case that would
generate the above 500 error, it generated two errors.
   First: “Something went wrong when loading the table: undefined : undefined”
   Then: “Something went wrong when loading the table: 500 Internal Server
Error”
(including this mostly in case it helps with troubleshooting #1)


3. If StaffDetailItemSelection and/or LocalCoverImages is turned off, the
alignment of the drop-down filters for the other columns is offset by 1 for
each of the two sysprefs that is disabled
Example: StaffDetailItemSelection is enabled; LocalCoverImages is disabled.
The first 5 columns are the selection column, Item Type, Current Library, Home
Library, Collection.
Item Type has a text filter instead of a drop-down.
Current Library has a drop-down, but it contains Item Type values (and is thus
useless).
Home Library has a drop-down containing branch names (but this is presumably
still shifted from Current Library)
Collection has a drop-down containing branch names (again, useless)
** If the cover images column is hidden, but not disabled by syspref, the
offset does not occur.

4. The general "Search" bar at the top of the table can only search on AV
codes, not display names (is this intentionally left for follow-up since the
column-specific filters were fixed by adding drop-downs?)

A couple of other minor things that do not need to be blockers:
1. The "Clear filter" button (next to the general "Search" box at the top of
the table) is always disabled

2. Missing space after the transit date: “In transit from Springfield to
Fairfield since 01/25/2024There is an item level hold on this item (priority =
0).”

**Note: I didn't test course reserves, analytics, or host records, as I'm not
familiar with how those work generally in Koha.

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


More information about the Koha-bugs mailing list