From 79b3a3fbfaccc53ccf74333cfd9d0d96fd8bfcf4 Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Mon, 16 Mar 2015 10:28:33 -0400 Subject: [PATCH] LP#1217052 Include Inactive Users in Dupe Search Signed-off-by: Jason Boyer Signed-off-by: Kathy Lussier Signed-off-by: Ben Shum --- Open-ILS/web/js/ui/default/actor/user/register.js | 2 +- .../Circulation/user-reg-dupe-search-includes-inactive.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 docs/RELEASE_NOTES_NEXT/Circulation/user-reg-dupe-search-includes-inactive.txt diff --git a/Open-ILS/web/js/ui/default/actor/user/register.js b/Open-ILS/web/js/ui/default/actor/user/register.js index 2e6f2ad2d1..b48946f6dc 100644 --- a/Open-ILS/web/js/ui/default/actor/user/register.js +++ b/Open-ILS/web/js/ui/default/actor/user/register.js @@ -1846,7 +1846,7 @@ function uEditDupeSearch(type, value) { fieldmapper.standardRequest( ['open-ils.actor', 'open-ils.actor.patron.search.advanced'], { async: true, - params: [openils.User.authtoken, search], + params: [openils.User.authtoken, search, null, null, 1], oncomplete : function(r) { var resp = openils.Util.readResponse(r); resp = resp.filter(function(id) { return (id != patron.id()); }); diff --git a/docs/RELEASE_NOTES_NEXT/Circulation/user-reg-dupe-search-includes-inactive.txt b/docs/RELEASE_NOTES_NEXT/Circulation/user-reg-dupe-search-includes-inactive.txt new file mode 100644 index 0000000000..edeef5d7bf --- /dev/null +++ b/docs/RELEASE_NOTES_NEXT/Circulation/user-reg-dupe-search-includes-inactive.txt @@ -0,0 +1,3 @@ +User Registration Includes Inactive Accounts in Dupe Search +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +When registering a user the system checks to see if there are already exiting users with the same name, address, email, etc. Now this duplicate user search includes inactive users so that matches can be re-activated if desired, rather than creating duplicate accounts. -- 2.43.2