Bugzilla – Attachment 76803 Details for
Bug 12759
Add ability to pass list contents to batch record modification/deletion tools
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12759: [FOLLOW-UP] Using tabs for diff ways of adding records
Bug-12759-FOLLOW-UP-Using-tabs-for-diff-ways-of-ad.patch (text/plain), 23.72 KB, created by
Aleisha Amohia
on 2018-07-10 04:40:39 UTC
(
hide
)
Description:
Bug 12759: [FOLLOW-UP] Using tabs for diff ways of adding records
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2018-07-10 04:40:39 UTC
Size:
23.72 KB
patch
obsolete
>From 9e59fbd5696c313e3e0edc87664779b92b895c2e Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Tue, 10 Jul 2018 04:10:40 +0000 >Subject: [PATCH] Bug 12759: [FOLLOW-UP] Using tabs for diff ways of adding > records > >This patch includes the changes for both batch record modification and >deletion. >Checks that all public lists are included and only private lists created >by the logged in user. >Hides the virtualshelves option if authorities are selected. >Doesn't show shelf option at all if none exist >--- > .../en/modules/tools/.nfs0000000002460dff0000000a | Bin 0 -> 49152 bytes > .../en/modules/tools/.nfs000000000246193f0000000b | Bin 0 -> 16384 bytes > .../prog/en/modules/tools/batch_delete_records.tt | 91 +++++++++++++-------- > .../en/modules/tools/batch_record_modification.tt | 91 +++++++++++++-------- > tools/batch_delete_records.pl | 3 +- > tools/batch_record_modification.pl | 3 +- > 6 files changed, 120 insertions(+), 68 deletions(-) > create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/tools/.nfs0000000002460dff0000000a > create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/tools/.nfs000000000246193f0000000b > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/.nfs0000000002460dff0000000a b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/.nfs0000000002460dff0000000a >new file mode 100644 >index 0000000000000000000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YQ4g|uQ2a3 >p9mdb4J*5@B3-dl%e8bvH+iy)LMqGJ&x8<!2d%9n1<(M(=`+slToU#A_ > >literal 0 >HcmV?d00001 > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/.nfs000000000246193f0000000b b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/.nfs000000000246193f0000000b >new file mode 100644 >index 0000000000000000000000000000000000000000..5ee4d803c3badc464b804c33af39ee8ea15c5222 >GIT binary patch >literal 16384 >zcmeHOO^h5z6>dU8Ou!@p2@-@zQO22>*fVV>NJyKRv39*{#l*3VcQ=>yYN+Y1nQ6Pb >zYv`_Cdu5zR2_WFg32{K;7*LK0iUil>5CMu55Qw{Ti4+6~IE3)M>Yw!V&hFZl!y$A_ >z-*ngidtX&oy;of`Joe1#r`gv#U$byMU|BC6U*70Fbn32GzhqfkVjPK3Q_7y#Wi=75 >z+#0H@duFqq%__91fa9xBny0o7roQck8jVSvhNh7k+cLBR<tDz2ZLO3a+e4w9$sm%B >zirfK`ypiV!?WwS%_m^^S+3M7qfsZ}|2d&2+JARDxJjB1kKKI%6kG{&ahBX5<12qFR >z12qFR12qFR12qFR0|f(mdXM!SLU&~`Pi6OyRqpR+*E3oCnM(S9vh<ZK{^ynS_bTOY >zRMJ15h1=P^mkE%|kww?Hnt_^unt_^unt_^unt_^unt_^unt_^unt_^u+h9PrmeoKx >zMUFPU|L6YyyZ2kxpMV#E9{@|h!@$2kV_AO%-UVI;ehPdCxCXeuqri=Wmh~gx1>kwW >z0oH*<pbZ=V?gifYv}L^xyaxOP7y&KdZ=bTPSAZ9QC7=oX`98~<0>^+iK51D$1Z?1) >z1D5p#;LUp>KJexzEbH^YTlb(Y;C|rkyDjUxz$IW6=mA}z4Ll5d8MqtxF*YF*;5={= >z_ysma9t7?K{sn&i3A_#50A2xJ1c<i~xXFtZSJ(IYUBM=i9QF92Wa=y7jyzxT{<?W) >zf>E$*i+<NeUMnxzP5eC2b-gX-xjmj9jKGPA!AL~`XO1u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KK{J0eE;fY*q*ce6h;S@tL@d=%?Sn|_Bnq)LG7LPuB%I6RNF|~B4K-}S<x2t# >zjm}u=6(3VTsF$`+yG@QiLen-sZ&ld3UTTNo%IY2oKbF<GO87F;O-vQ%eTlusY_AO; >z7|S~x#l~A_M_b+q`z1F+hoPT!d+Zo?RVtIi9gtTul3!!XTjqN-TCv?2BB>#?`4G8b >zMz-0R!oSovH_WHVMlpaJn+y3@y;jGU;aE>-zpbi8N<sQvDeXiW0`#8lJ_0J;#)s#{ >z*bA}0$rrFEh|Zefg$uE&B8`Ot$s3zTXA|RP6(GK$8?y<Oe2iUVT&#%*V=1P3;Q4PJ >VWjtP^cXxqte1mDz`o!6F>%ZAL<k<iK > >literal 0 >HcmV?d00001 > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt >index 50db426..d69c5af 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt >@@ -63,36 +63,60 @@ > <li><label for="authority_type">Authorities: </label><input type="radio" name="recordtype" value="authority" id="authority_type" /></li> > </ol> > </fieldset> >- <fieldset class="rows"> >- <legend>Use a file</legend> >- <ol> >- <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li> >- </ol> >- </fieldset> >- <fieldset class="rows" id="shelves"> >- <legend>Or select a list of records</legend> >- <ol> >- <li> >- <label for="shelf_number">Use records from the following list: </label> >- <select name="shelf_number" id="shelf_number"> >- <option value="">Select a list</option> >- [% FOREACH list IN lists %] >- <option value="[% list.shelfnumber %]">[% list.shelfname %]</option> >- [% END %] >- </option> >- </select> >- </li> >- </ol> >- </fieldset> >- <fieldset class="rows"> >- <legend>Or enter a list of record numbers</legend> >- <ol> >- <li> >- <label for="recordnumber_list">List of biblionumbers or authority ids (one per line): </label> >- <textarea rows="10" cols="30" id="recordnumber_list" name="recordnumber_list"></textarea> >- </li> >- </ol> >- </fieldset> >+ >+ <br><br> >+ >+ <div id="batch_del_form" class="toptabs"> >+ <ul> >+ <li><a href="#uploadfile">Upload a file</a></li> >+ [% IF lists.count %]<li id="show_list_option"><a href="#shelves">Select a list of records</a></li>[% END %] >+ <li><a href="#enterlist">Enter a list of record numbers</a></li> >+ </ul> >+ >+ <div id="uploadfile"> >+ <fieldset class="rows"> >+ <legend>Use a file</legend> >+ <ol> >+ <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li> >+ </ol> >+ </fieldset> >+ >+ </div> >+ >+ <div id="shelves"> >+ <fieldset class="rows"> >+ <legend>Or select a list of records</legend> >+ <ol> >+ <li> >+ <label for="shelf_number">Use records from the following list: </label> >+ <select name="shelf_number" id="shelf_number"> >+ <option value="">Select a list</option> >+ [% FOREACH list IN lists %] >+ <option value="[% list.shelfnumber %]">[% list.shelfname %]</option> >+ [% END %] >+ </option> >+ </select> >+ </li> >+ </ol> >+ </fieldset> >+ >+ </div> >+ >+ <div id="enterlist"> >+ <fieldset class="rows"> >+ <legend>Or enter a list of record numbers</legend> >+ <ol> >+ <li> >+ <label for="recordnumber_list">List of biblionumbers or authority ids (one per line): </label> >+ <textarea rows="10" cols="30" id="recordnumber_list" name="recordnumber_list"></textarea> >+ </li> >+ </ol> >+ </fieldset> >+ >+ </div> >+ >+ </div> >+ > <fieldset class="action"> > <input type="hidden" name="op" value="list" /> > <input type="submit" value="Continue" class="button" /> >@@ -199,11 +223,14 @@ > <script type="text/javascript"> > var MSG_CANNOT_BE_DELETED = _("This record cannot be deleted, at least one item is currently checked out."); > $(document).ready(function() { >+ >+ $("#batch_del_form").tabs(); >+ > $("input[type='radio']").click(function(){ > if ($(this).attr('id') == 'authority_type') { >- $("#shelves").hide(); >+ $("#show_list_option").hide(); > } else if ($(this).attr('id') == 'biblio_type') { >- $("#shelves").show(); >+ $("#show_list_option").show(); > } > }); > $("#selectall").click(function(e){ >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >index e61b858..28e4c12 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt >@@ -67,36 +67,60 @@ > <li><label for="authority_type">Authorities: </label><input type="radio" name="recordtype" value="authority" id="authority_type" /></li> > </ol> > </fieldset> >- <fieldset class="rows"> >- <legend>Use a file</legend> >- <ol> >- <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li> >- </ol> >- </fieldset> >- <fieldset class="rows" id="shelves"> >- <legend>Or select a list of records</legend> >- <ol> >- <li> >- <label for="shelf_number">Use records from the following list: </label> >- <select name="shelf_number" id="shelf_number"> >- <option value="">Select a list</option> >- [% FOREACH list IN lists %] >- <option value="[% list.shelfnumber %]">[% list.shelfname %]</option> >- [% END %] >- </option> >- </select> >- </li> >- </ol> >- </fieldset> >- <fieldset class="rows"> >- <legend>Or enter a list of record numbers</legend> >- <ol> >- <li> >- <label for="recordnumber_list">List of biblionumbers or authority ids (one per line): </label> >- <textarea rows="10" cols="30" id="recordnumber_list" name="recordnumber_list"></textarea> >- </li> >- </ol> >- </fieldset> >+ >+ <br><br> >+ >+ <div id="batch_mod_form" class="toptabs"> >+ <ul> >+ <li><a href="#uploadfile">Upload a file</a></li> >+ [% IF lists.count %]<li id="show_list_option"><a href="#shelves">Select a list of records</a></li>[% END %] >+ <li><a href="#enterlist">Enter a list of record numbers</a></li> >+ </ul> >+ >+ <div id="uploadfile"> >+ <fieldset class="rows"> >+ <legend>Use a file</legend> >+ <ol> >+ <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li> >+ </ol> >+ </fieldset> >+ >+ </div> >+ >+ <div id="shelves"> >+ <fieldset class="rows"> >+ <legend>Or select a list of records</legend> >+ <ol> >+ <li> >+ <label for="shelf_number">Use records from the following list: </label> >+ <select name="shelf_number" id="shelf_number"> >+ <option value="">Select a list</option> >+ [% FOREACH list IN lists %] >+ <option value="[% list.shelfnumber %]">[% list.shelfname %]</option> >+ [% END %] >+ </option> >+ </select> >+ </li> >+ </ol> >+ </fieldset> >+ >+ </div> >+ >+ <div id="enterlist"> >+ <fieldset class="rows"> >+ <legend>Or enter a list of record numbers</legend> >+ <ol> >+ <li> >+ <label for="recordnumber_list">List of biblionumbers or authority ids (one per line): </label> >+ <textarea rows="10" cols="30" id="recordnumber_list" name="recordnumber_list"></textarea> >+ </li> >+ </ol> >+ </fieldset> >+ >+ </div> >+ >+ </div> >+ > <fieldset class="rows"> > <legend>Use MARC Modification Template:</legend> > <ol> >@@ -257,11 +281,14 @@ > [% Asset.js("js/background-job-progressbar.js") %] > <script type="text/javascript"> > $(document).ready(function() { >+ >+ $("#batch_mod_form").tabs(); >+ > $("input[type='radio']").click(function(){ > if ($(this).attr('id') == 'authority_type') { >- $("#shelves").hide(); >+ $("#show_list_option").hide(); > } else if ($(this).attr('id') == 'biblio_type') { >- $("#shelves").show(); >+ $("#show_list_option").show(); > } > }); > $("#selectall").click(function(e){ >diff --git a/tools/batch_delete_records.pl b/tools/batch_delete_records.pl >index f4825a6..fa24b26 100755 >--- a/tools/batch_delete_records.pl >+++ b/tools/batch_delete_records.pl >@@ -44,8 +44,7 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ > flagsrequired => { tools => 'records_batchdel' }, > }); > >-my @lists = Koha::Virtualshelves->search({}); >-$template->param( lists => \@lists ); >+$template->param( lists => scalar Koha::Virtualshelves->search([{ category => 1, owner => $loggedinuser }, { category => 2 }]) ); > > my @records; > my @messages; >diff --git a/tools/batch_record_modification.pl b/tools/batch_record_modification.pl >index 2b19bce..49d6f21 100755 >--- a/tools/batch_record_modification.pl >+++ b/tools/batch_record_modification.pl >@@ -69,8 +69,7 @@ if ( $completedJobID ) { > exit; > } > >-my @lists = Koha::Virtualshelves->search({}); >-$template->param( lists => \@lists ); >+$template->param( lists => scalar Koha::Virtualshelves->search([{ category => 1, owner => $loggedinuser }, { category => 2 }]) ); > > my @templates = GetModificationTemplates( $mmtid ); > unless ( @templates ) { >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12759
:
60297
|
60362
|
60367
|
60489
|
61337
|
75548
|
75572
|
76802
|
76803
|
82228
|
82229
|
82230
|
83421
|
83422
|
83423
|
83424
|
84672
|
84875
|
84876
|
84877
|
84878