From 29eb48537d1b0b433cb52a63c9615c8acccc5a31 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 9 Feb 2022 12:22:49 +0100 Subject: [PATCH] Bug 30055: Use /patrons for neworderempty MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Test plan: Create or edit an order, add users to notify on receiving Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi Signed-off-by: Séverine Queune Signed-off-by: Martin Renvoize Signed-off-by: Fridolin Somers --- api/v1/swagger/paths/patrons.yaml | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/v1/swagger/paths/patrons.yaml b/api/v1/swagger/paths/patrons.yaml index dc3f25a46a..5b2b953372 100644 --- a/api/v1/swagger/paths/patrons.yaml +++ b/api/v1/swagger/paths/patrons.yaml @@ -382,6 +382,7 @@ - borrowers: "1" - tools: "label_creator" - serials: "routing" + - acquisition: "order_manage" x-koha-embed: - extended_attributes post: diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt index 0285a2f5f2..21d0b112c8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -684,7 +684,7 @@ function UserSearchPopup(f) { window.open( - "/cgi-bin/koha/acqui/add_user_search.pl", + "/cgi-bin/koha/members/search.pl?columns=cardnumber,name,category,branch,action&selection_type=add", 'UserSearchPopup', 'width=740, height=450, scrollbars=yes, toolbar=no,' ); -- 2.39.5