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

--- Comment #7 from David Nind <[email protected]> ---
For what it is worth (and I don't know the answer to why this is happening),
testing on the current main using koha-testing-docker:

1. I created these patrons in the 'Patron' category (no other data added, apart
from adding a card number):
   1.1 Surname = Остапенко
   1.2 Surname = Остапенко Firstname = Эвелина
   1.3 Surname = Шимко Firstname = Остап
   1.4 Surname = Сычев Firstname = Игорь Алексеевич
   1.5 Surname = Сычева Firstname = Анастасия Андреевна

2. The DefaultPatronSearchFields system preference is set to the default:
"firstname|preferred_name|middle_name|surname|othernames|cardnumber|userid" 

3. If I do the first search in the description comment, I get a 500 server
error in a pop-up window and a "Processing..." message.

Search result, using the search in the sidebar with Search field = as per
search, Search type = Starts with, Category =Any, Library = Any):

Search:
   - Search: Остапенко
   - Search field: Standard

Result - pop-up message: 
  Something went wrong when loading the table.
  500: Internal Server Error.
  Expected integer - got boolean.
  Expected integer - got boolean.

Browser developer tools console error:
  Got 500 (Internal Server Error)
  DataTables warning: table id=memberresultst - Ajax error. For more
information about this error, please see https://datatables.net/tn/7

Error logs:
  ==> /var/log/koha/kohadev/plack-api-error.log <==
  [2025/08/29 23:15:43] [WARN] OpenAPI >>> GET api/v1/patrons
[{"message":"Expected integer - got
boolean.","path":"\/body\/0\/privacy_guarantor_checkouts"},{"message":"Expected
integer - got boolean.","path":"\/body\/1\/privacy_guarantor_checkouts"}]

I get similar messages for the other searches, except there may be more
"Expected integer - got boolean" messages.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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