Re: [Koha-devel] Getting "count" when using REST API

2022-08-05 Thread Tomas Cohen Arazi
I'll file a bug for that. I'm thinking we could reconsider the return value for objects.search at this point (i.e. just return the resultset and let the controller call ->to_api). It feels it would be more consistent too. Nice one! El vie, 5 ago 2022 11:42, Renvoize, Martin escribió: > We

Re: [Koha-devel] Getting "count" when using REST API

2022-08-05 Thread Renvoize, Martin
We should probably implement this as a HEAD request.. i.e. instead of doing a special ?_page=1&_per_page=1, we should just allow requesting the HEAD on whatever the request was and then you can read the X-Total-Count header.. in the Koha side we can handle such a request with performance in mind

Re: [Koha-devel] Dependency problem when installing Koha 21.11.10 on Debian 11

2022-08-05 Thread Michael Kuhn
Hi Michael Thank you so much! After going througfh the files in directory "/var/log/rabbitmq" I found some error reading ERROR: epmd error for host YOUR_HOSTNAME: timeout (timed out) solution Eventually I was able to solve the problem by adding the hostname to the 127.0.0.1 line in file