/virtualshelves/addbybiblionumber.pl can easily exceed the maximum number of characters a URL is allowed to contain when submitting large numbers of biblionumbers. We should be able to significantly reduce this by simply reducing the parameter name from 'biblionumber' to 'bib' or 'b'.. or we could work on an alternative submission mechanism.
Shouldn't these parameters be transmitted using the POST method?
Yeah, it should probably be a POST
I thought there was a REST API for managing virtualsheves. It seems it is not yet the case ?
(In reply to Mathieu Saby from comment #3) > I thought there was a REST API for managing virtualsheves. It seems it is > not yet the case ? Not yet I think, looking at api.koha-community.org.
I think we can improve the current behavior, without creating an API (for now) Look at the button "add to list" displayed in report result page (/koha/reports/guided_reports.pl) when the result is a list of record : The URL of the generated popup looks like that : koha/virtualshelves/addbybiblionumber.pl?biblionumbers=1/2/3/4/5/6/7 So I presume we can use this short syntax elsewhere in Koha ?