8e91a0f01d
Before this enh, the users to add to a basket should have the acquisition.order_manage permission. This patch reintroduces this behavior. The code in acqui/add_user_search.pl was never used. The filter should be done in the members/search service. But it is not possible easily to filter using a sql query, so the filter is done after. This means that we cannot use the DT pagination (otherwise the results will become inconsistent). Test plan: 1/ On adding patrons to a basket, verify that the search patron results contain patron with the acquisition.order_manage permission. 2/ Verify that all patrons are return on the 'normal' patron search and when adding patrons to an order. Signed-off-by: Paola Rossi <paola.rossi@cineca.it> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> |
||
---|---|---|
.. | ||
csv | ||
tables | ||
acqui-home.tt | ||
add_user_search.tt | ||
addorder.tt | ||
addorderiso2709.tt | ||
ajax.tt | ||
basket.tt | ||
basketgroup.tt | ||
basketheader.tt | ||
booksellers.tt | ||
cancelorder.tt | ||
histsearch.tt | ||
invoice-files.tt | ||
invoice.tt | ||
invoices.tt | ||
lateorders.tt | ||
modordernotes.tt | ||
neworderbiblio.tt | ||
neworderempty.tt | ||
neworderempty_duplicate.tt | ||
newordersubscription.tt | ||
newordersuggestion.tt | ||
ordered.tt | ||
orderreceive.tt | ||
parcel.tt | ||
parcels.tt | ||
spent.tt | ||
supplier.tt | ||
transferorder.tt | ||
uncertainprice.tt | ||
z3950_search.tt |