Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
Jonathan Druart 8e91a0f01d Bug 12648: The users added to basket should have a permission
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>
2015-03-11 11:47:35 -03:00
..
csv
tables Bug 12648: Refactoring to prepare user search for reuse 2015-03-11 11:47:25 -03:00
acqui-home.tt Bug 12989: Fix JS error 2014-11-11 14:16:10 -03:00
add_user_search.tt Bug 12648: The users added to basket should have a permission 2015-03-11 11:47:35 -03:00
addorder.tt
addorderiso2709.tt Bug 12927: Problems with item information tab on acq order from staged page 2014-10-16 12:51:13 -03:00
ajax.tt
basket.tt Bug 12648: Refactoring to prepare user search for reuse 2015-03-11 11:47:25 -03:00
basketgroup.tt Bug 13487: Fix pagination for basketgroup 2015-01-07 20:12:56 -03:00
basketheader.tt Bug 11805 - Use validation plugin when creating new basket in Acquisitions 2014-02-27 15:44:48 +00:00
booksellers.tt Bug 13039 - Vendor search: sorting of "item count" and "biblio count" columns can be incorrect 2014-11-19 13:27:00 -03:00
cancelorder.tt Bug 7162: Remove "(Y)" and "(N)" from buttons text 2014-10-30 00:44:18 -03:00
histsearch.tt Bug 12944: Fix regression on translating 2015-02-09 15:48:17 -03:00
invoice-files.tt Bug 3050: QA follow-up 2014-05-25 21:15:03 +00:00
invoice.tt Bug 12976: Use the centralize VAT and prices calculation - invoice.pl 2015-02-19 09:46:26 -03:00
invoices.tt Bug 12646: Display all invoices on the same page 2014-10-16 12:52:15 -03:00
lateorders.tt Bug 12505 - Acq claim: Show error message when no order is selected 2014-11-19 21:43:23 -03:00
modordernotes.tt Bug 12111: (follow-up) fix breadcrumbs wording for vendor note 2014-04-28 15:31:46 +00:00
neworderbiblio.tt Bug 12565: Acq: Fix broken link in breadcrumbs 2014-12-19 15:12:14 -03:00
neworderempty.tt Bug 12648: Link patrons to an order 2015-03-11 11:47:30 -03:00
neworderempty_duplicate.tt
newordersubscription.tt Bug 13744: Fix datatables paging on 'order from subscription' page 2015-03-07 21:10:24 +01:00
newordersuggestion.tt Bug 12775: Suggestions should be ordered by anyone 2014-11-21 16:13:27 -03:00
ordered.tt Bug 12089: Remove use of dt_add_type_uk_date() - Acquisitions 2014-04-28 18:41:28 +00:00
orderreceive.tt Bug 13593: 'stock number' should be 'inventory number' 2015-02-20 10:57:26 -03:00
parcel.tt Bug 13320: Fix "Tax inc." vs "Tax exc." 2015-02-04 15:16:15 -03:00
parcels.tt Bug 13220 - Shipment date not saved when creating an invoice which has a duplicated number 2014-11-14 11:02:36 -03:00
spent.tt Bug 12089: Remove use of dt_add_type_uk_date() - Acquisitions 2014-04-28 18:41:28 +00:00
supplier.tt Bug 10402 follow-up: choose contacts for claims 2014-08-26 11:45:59 -03:00
transferorder.tt
uncertainprice.tt Bug 10402: Use an object for contacts 2014-08-26 11:45:42 -03:00
z3950_search.tt Bug 7741 [Follow-up] Clear search terms in Z3950 search page 2015-02-16 23:40:08 -03:00