Bugzilla – Attachment 8080 Details for
Bug 6086
adding a dynamic filter to pending holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6086 Followup Replace \t characters with 4 spaces
0001-Bug-6086-Followup-Replace-t-characters-with-4-spaces.patch (text/plain), 7.55 KB, created by
Jonathan Druart
on 2012-03-08 10:55:29 UTC
(
hide
)
Description:
Bug 6086 Followup Replace \t characters with 4 spaces
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-03-08 10:55:29 UTC
Size:
7.55 KB
patch
obsolete
>From f20aeed86647c5444b39743cc7fb0c551f788514 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 8 Mar 2012 11:53:49 +0100 >Subject: [PATCH 1/1] Bug 6086: Followup: Replace \t characters with 4 spaces > >--- > .../prog/en/modules/circ/pendingreserves.tt | 142 ++++++++++---------- > 1 files changed, 71 insertions(+), 71 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >index 3aeb592..b83e1a2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >@@ -20,26 +20,26 @@ $(document).ready(function() { > function createSelect( data ) { > var r='<select style="width:99%"><option value="">None</option>', i, len=data.length; > for ( i=0 ; i<len ; i++ ) { >- r += '<option value="'+data[i]+'">'+data[i]+'</option>'; >+ r += '<option value="'+data[i]+'">'+data[i]+'</option>'; > } > return r+'</select>'; > } > $("#homebranchfilter").each( function () { > $(this).html( createSelect( holdst.fnGetColumnData(4) ) ); > $('select', this).change( function () { >- holdst.fnFilter( $(this).val(), 4 ); >+ holdst.fnFilter( $(this).val(), 4 ); > } ); > } ); > $("#itypefilter").each( function () { > $(this).html( createSelect( holdst.fnGetColumnData(8) ) ); > $('select', this).change( function () { >- holdst.fnFilter( $(this).val(), 8 ); >+ holdst.fnFilter( $(this).val(), 8 ); > } ); > } ); > $("#locationfilter").each( function () { > $(this).html( createSelect( holdst.fnGetColumnData(9) ) ); > $('select', this).change( function () { >- holdst.fnFilter( $(this).val(), 9 ); >+ holdst.fnFilter( $(this).val(), 9 ); > } ); > } ); > }); >@@ -54,10 +54,10 @@ $(document).ready(function() { > <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Holds to Pull</div> > > <div id="doc3" class="yui-t2"> >- >+ > <div id="bd"> >- <div id="yui-main"> >- <div class="yui-b"> >+ <div id="yui-main"> >+ <div class="yui-b"> > > <h2>Holds to Pull[% IF ( run_report ) %] placed between [% from %] and [% to %][% END %]</h2> > [% IF ( run_report ) %] >@@ -66,70 +66,70 @@ $(document).ready(function() { > <div class="searchresults"> > [% IF ( reserveloop ) %] > <table id="holdst"> >- <thead> >- <tr> >- <th>Pull This Many Items</th> >- <th>Items Available</th> >- <th>Patrons with Holds</th> >- <th>Title</th> >- <th>Libraries</th> >- <th>Available Call Numbers</th> >- <th>Available Copy No</th> >- <th>Available Enumeration</th> >- <th>Available Itypes</th> >- <th>Available Locations</th> >- <th>Earliest Hold Date</th> >- </tr> >- </thead> >- <tbody> >- [% FOREACH reserveloo IN reserveloop %] >- <tr> >- [% IF ( reserveloo.borrowernumber ) %] >- <td><p><b>[% reserveloo.pullcount %]</b></p></td> >- <td>[% reserveloo.count %]</td> >- <td>[% reserveloo.rcount %]</td> >- <td> >- <p> >- [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %] >- [% reserveloo.title |html %] [% reserveloo.subtitle %] >- </a> >- </p> >- </td> >- [% ELSE %] >- <td>"</td> >- <td>"</td> >- <td>"</td> >- <td>"</td> >- [% END %] >- <td>[% reserveloo.holdingbranch %]</td> >- <td><p>[% reserveloo.itemcallnumber %]</p></td> >- <td><p>[% reserveloo.copyno %]</p></td> >- <td><p>[% reserveloo.enumchron %]</p></td> >- <td>[% reserveloo.itype %]</td> >- <td>[% reserveloo.location %]</td> >- <td width="15%"> >- <p>[% reserveloo.reservedate %]</p> >- <p>in [% reserveloo.branch %]</p> >- [% IF ( reserveloo.statusw ) %]<p>Waiting</p>[% END %][% IF ( reserveloo.statusf ) %]<p>Fullfilled</p>[% END %] >- </td> >- </tr> >- [% END %] >- </tbody> >- <tfoot> >- <tr> >- <td><input type="text" class="filter" data-column_num="0" placeholder="Pull This many items" style="width:95%"/></td> >- <td><input type="text" class="filter" data-column_num="1" placeholder="Items available" style="width:95%"/></td> >- <td><input type="text" class="filter" data-column_num="2" placeholder="Patron holds" style="width:95%"/></td> >- <td><input type="text" class="filter" data-column_num="3" placeholder="Title" style="width:95%"/></td> >- <td id="homebranchfilter"></td> >- <td><input type="text" class="filter" data-column_num="5" placeholder="Call number" style="width:95%"/></td> >- <td><input type="text" class="filter" data-column_num="6" placeholder="Available copy" style="width:95%"/></td> >- <td><input type="text" class="filter" data-column_num="7" placeholder="Available enumeration" style="width:95%"/></td> >- <td id="itypefilter"></td> >- <td id="locationfilter"></td> >- <td></td> >- </tr> >- </tfoot> >+ <thead> >+ <tr> >+ <th>Pull This Many Items</th> >+ <th>Items Available</th> >+ <th>Patrons with Holds</th> >+ <th>Title</th> >+ <th>Libraries</th> >+ <th>Available Call Numbers</th> >+ <th>Available Copy No</th> >+ <th>Available Enumeration</th> >+ <th>Available Itypes</th> >+ <th>Available Locations</th> >+ <th>Earliest Hold Date</th> >+ </tr> >+ </thead> >+ <tbody> >+ [% FOREACH reserveloo IN reserveloop %] >+ <tr> >+ [% IF ( reserveloo.borrowernumber ) %] >+ <td><p><b>[% reserveloo.pullcount %]</b></p></td> >+ <td>[% reserveloo.count %]</td> >+ <td>[% reserveloo.rcount %]</td> >+ <td> >+ <p> >+ [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %] >+ [% reserveloo.title |html %] [% reserveloo.subtitle %] >+ </a> >+ </p> >+ </td> >+ [% ELSE %] >+ <td>"</td> >+ <td>"</td> >+ <td>"</td> >+ <td>"</td> >+ [% END %] >+ <td>[% reserveloo.holdingbranch %]</td> >+ <td><p>[% reserveloo.itemcallnumber %]</p></td> >+ <td><p>[% reserveloo.copyno %]</p></td> >+ <td><p>[% reserveloo.enumchron %]</p></td> >+ <td>[% reserveloo.itype %]</td> >+ <td>[% reserveloo.location %]</td> >+ <td width="15%"> >+ <p>[% reserveloo.reservedate %]</p> >+ <p>in [% reserveloo.branch %]</p> >+ [% IF ( reserveloo.statusw ) %]<p>Waiting</p>[% END %][% IF ( reserveloo.statusf ) %]<p>Fullfilled</p>[% END %] >+ </td> >+ </tr> >+ [% END %] >+ </tbody> >+ <tfoot> >+ <tr> >+ <td><input type="text" class="filter" data-column_num="0" placeholder="Pull This many items" style="width:95%"/></td> >+ <td><input type="text" class="filter" data-column_num="1" placeholder="Items available" style="width:95%"/></td> >+ <td><input type="text" class="filter" data-column_num="2" placeholder="Patron holds" style="width:95%"/></td> >+ <td><input type="text" class="filter" data-column_num="3" placeholder="Title" style="width:95%"/></td> >+ <td id="homebranchfilter"></td> >+ <td><input type="text" class="filter" data-column_num="5" placeholder="Call number" style="width:95%"/></td> >+ <td><input type="text" class="filter" data-column_num="6" placeholder="Available copy" style="width:95%"/></td> >+ <td><input type="text" class="filter" data-column_num="7" placeholder="Available enumeration" style="width:95%"/></td> >+ <td id="itypefilter"></td> >+ <td id="locationfilter"></td> >+ <td></td> >+ </tr> >+ </tfoot> > </table> > [% ELSE %] > <b>No items found.</b> >-- >1.7.7.3 >
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 6086
:
3744
|
4918
|
7989
|
8038
| 8080