Bugzilla – Attachment 19773 Details for
Bug 10320
Show results from library's OverDrive collection in OPAC search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Followup for bug 10320: minor bugfixes and style improvements
Followup-for-bug-10320-minor-bugfixes-and-style-im.patch (text/plain), 23.26 KB, created by
Jesse Weaver
on 2013-07-18 15:51:28 UTC
(
hide
)
Description:
Followup for bug 10320: minor bugfixes and style improvements
Filename:
MIME Type:
Creator:
Jesse Weaver
Created:
2013-07-18 15:51:28 UTC
Size:
23.26 KB
patch
obsolete
>From 47840b378446f41bbcb0d1a03000fde6e65b17b5 Mon Sep 17 00:00:00 2001 >From: Jesse Weaver <pianohacker@gmail.com> >Date: Thu, 18 Jul 2013 09:48:19 -0600 >Subject: [PATCH] Followup for bug 10320: minor bugfixes and style > improvements > >Switch to the new method of showing star ratings. Also, fix some >translation bugs, an error that occurred when caching was disabled and >add a stub unit test. >--- > C4/External/OverDrive.pm | 2 +- > koha-tmpl/opac-tmpl/ccsr/en/css/opac.css | 14 +++++++ > koha-tmpl/opac-tmpl/prog/en/css/opac.css | 5 +++ > .../prog/en/modules/opac-overdrive-search.tt | 44 ++++++++++++-------- > .../opac-tmpl/prog/en/modules/opac-results.tt | 6 +-- > koha-tmpl/opac-tmpl/prog/images/Star0.gif | Bin 1360 -> 0 bytes > koha-tmpl/opac-tmpl/prog/images/Star1.gif | Bin 1395 -> 0 bytes > koha-tmpl/opac-tmpl/prog/images/Star2.gif | Bin 1410 -> 0 bytes > koha-tmpl/opac-tmpl/prog/images/Star3.gif | Bin 1391 -> 0 bytes > koha-tmpl/opac-tmpl/prog/images/Star4.gif | Bin 1380 -> 0 bytes > koha-tmpl/opac-tmpl/prog/images/Star5.gif | Bin 1284 -> 0 bytes > t/External_Overdrive.t | 14 +++++++ > 12 files changed, 64 insertions(+), 21 deletions(-) > delete mode 100644 koha-tmpl/opac-tmpl/prog/images/Star0.gif > delete mode 100644 koha-tmpl/opac-tmpl/prog/images/Star1.gif > delete mode 100644 koha-tmpl/opac-tmpl/prog/images/Star2.gif > delete mode 100644 koha-tmpl/opac-tmpl/prog/images/Star3.gif > delete mode 100644 koha-tmpl/opac-tmpl/prog/images/Star4.gif > delete mode 100644 koha-tmpl/opac-tmpl/prog/images/Star5.gif > create mode 100755 t/External_Overdrive.t > >diff --git a/C4/External/OverDrive.pm b/C4/External/OverDrive.pm >index 91316c0..655ee72 100644 >--- a/C4/External/OverDrive.pm >+++ b/C4/External/OverDrive.pm >@@ -122,7 +122,7 @@ sub GetOverDriveToken { > $token = $contents->{'token_type'} . ' ' . $contents->{'access_token'}; > > # Fudge factor to prevent spurious failures >- $cache->set_in_cache( 'overdrive_token', $token, $contents->{'expires_in'} - 5 ); >+ $cache and $cache->set_in_cache( 'overdrive_token', $token, $contents->{'expires_in'} - 5 ); > > return $token; > } >diff --git a/koha-tmpl/opac-tmpl/ccsr/en/css/opac.css b/koha-tmpl/opac-tmpl/ccsr/en/css/opac.css >index 9f9979c..319733c 100644 >--- a/koha-tmpl/opac-tmpl/ccsr/en/css/opac.css >+++ b/koha-tmpl/opac-tmpl/ccsr/en/css/opac.css >@@ -2819,3 +2819,17 @@ a.reviewlink,a.reviewlink:visited { > .subjectSearch ul { > padding-left: 0px; > } >+ >+#overdrive-results { >+ font-weight: bold; >+ padding-left: 1em; >+} >+ >+.throbber { >+ vertical-align: middle; >+} >+ >+#overdrive-results-list .star-rating-control { >+ display: block; >+ overflow: auto; >+} >diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >index 7cb2062..4e42591 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css >+++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >@@ -2977,3 +2977,8 @@ padding: 0.1em 0; > .throbber { > vertical-align: middle; > } >+ >+#overdrive-results-list .star-rating-control { >+ display: block; >+ overflow: auto; >+} >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt >index 4ba9f8d..086a22b 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt >@@ -2,6 +2,8 @@ > [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › OverDrive search for '[% q | html %]' > [% INCLUDE 'doc-head-close.inc' %] > <script type="text/javascript" src="[% themelang %]/js/overdrive.js"></script> >+<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.rating.js"></script> >+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/jquery.rating.css" /> > <script type="text/javascript"> > var querystring = "[% q |replace( "'", "\'" ) |replace( '\n', '\\n' ) |replace( '\r', '\\r' ) |html %]"; > var results_per_page = [% OPACnumSearchResults %]; >@@ -9,7 +11,7 @@ var results_per_page = [% OPACnumSearchResults %]; > function fetch_availability( prod, $tr ) { > var $availability_summary = $( '<span class="results_summary"></span>' ); > $tr.find( '.info' ).append( $availability_summary ); >- $availability_summary.html( '<span class="label">Availability: </span> Loading...' ); >+ $availability_summary.html( '<span class="label">' + _("Availability:") + ' </span> ' + _("Loading...") ); > > KOHA.OverDrive.Get( > prod.links.availability.href, >@@ -17,34 +19,34 @@ function fetch_availability( prod, $tr ) { > function ( data ) { > if ( data.error ) return; > >- $availability_summary.html( '<span class="label">Copies available: </span><span class="available"><strong>' + data.copiesAvailable + '</strong> out of ' + data.copiesOwned + '</span>' ); >+ $availability_summary.html( '<span class="label">' + _("Copies available:") + ' </span><span class="available"><strong>' + data.copiesAvailable + '</strong> ' + _("out of") + ' ' + data.copiesOwned + '</span>' ); > > if ( data.numberOfHolds ) { >- $availability_summary.find( '.available' ).append( ', waiting holds: <strong>' + data.numberOfHolds + '</strong>' ); >+ $availability_summary.find( '.available' ).append( ', ' + _("waiting holds:") + ' <strong>' + data.numberOfHolds + '</strong>' ); > } > >- $tr.find( '.info' ).append( '<span class="results_summary actions"><span class="label">Actions: </span><a href="http://' + prod.contentDetails[0].href + '" ' + ( data.copiesAvailable ? ' class="addtocart">Check out' : ' class="hold">Place hold' ) + '</a></span>' ); >+ $tr.find( '.info' ).append( '<span class="results_summary actions"><span class="label">' + _("Actions:") + ' </span><a href="http://' + prod.contentDetails[0].href + '" ' + ( data.copiesAvailable ? ( ' class="addtocart">' + _("Check out") ) : ( ' class="hold">' + _("Place hold") ) ) + '</a></span>' ); > } > ); > } > > function search( offset ) { >- $( '#overdrive-status' ).html( 'Searching OverDrive... <img class="throbber" src="/opac-tmpl/lib/jquery/plugins/themes/classic/throbber.gif" /></span>' ); >+ $( '#overdrive-status' ).html( _("Searching OverDrive...") + ' <img class="throbber" src="/opac-tmpl/lib/jquery/plugins/themes/classic/throbber.gif" /></span>' ); > > KOHA.OverDrive.Search( "[% OverDriveLibraryID %]", querystring, results_per_page, offset, function( data ) { > if ( data.error ) { >- $( '#overdrive-status' ).html( '<strong class="unavailable">Error searching OverDrive collection.</strong>' ); >+ $( '#overdrive-status' ).html( '<strong class="unavailable">' + _("Error searching OverDrive collection.") + '</strong>' ); > return; > } > > if ( !data.totalItems ) { >- $( '#overdrive-status' ).html( '<strong>No results found in the library\'s OverDrive collection.</strong>' ); >+ $( '#overdrive-status' ).html( '<strong>' + _("No results found in the library's OverDrive collection.") + '</strong>' ); > return; > } > >- $( '#results tbody' ).empty(); >+ $( '#overdrive-results-list tbody' ).empty(); > >- $( '#overdrive-status' ).html( '<strong>Found ' + data.totalItems + ' results in the library\'s OverDrive collection.</strong>' ); >+ $( '#overdrive-status' ).html( '<strong>' + _("Found") + ' ' + data.totalItems + ' ' + _("results in the library's OverDrive collection.") + '</strong>' ); > > for ( var i = 0; data.products[i]; i++ ) { > var prod = data.products[i]; >@@ -56,9 +58,15 @@ function search( offset ) { > results.push( prod.title ); > if ( prod.subtitle ) results.push( ', ', prod.subtitle ); > results.push( '</a>' ); >- results.push( '<p>by ', prod.primaryCreator.name, '</p>' ); >- results.push( '<span class="results_summary"><span class="label">Type: </span>', prod.mediaType, '</span>' ); >- if ( prod.starRating ) results.push( '<span class="results_summary"><span class="label">Average rating: <img src="[% themelang %]/../images/Star', Math.round( parseInt( prod.starRating )), '.gif" title="" style="max-height: 15px; vertical-align: bottom"/></span>' ); >+ results.push( '<p>' + _("by") + ' ', prod.primaryCreator.name, '</p>' ); >+ if ( prod.starRating ) { >+ results.push( '<span class="results_summary ratings">' ); >+ for ( var rating = 1; rating <= 5; rating++ ) { >+ results.push( '<input class="star" type="radio" name="rating-' + i + '" value="' + rating + '"' + ( rating == Math.round( prod.starRating ) ? ' checked="checked"' : '' ) + ' disabled="disabled" />' ); >+ } >+ results.push( '</span>' ); >+ } >+ results.push( '<span class="results_summary"><span class="label">' + _("Type:") + ' </span>', prod.mediaType, '</span>' ); > results.push( '</td>' ); > > results.push( '<td>' ); >@@ -71,19 +79,19 @@ function search( offset ) { > > results.push( '</tr>' ); > var $tr = $( results.join( '' )); >- $( '#results tbody' ).append( $tr ); >+ $( '#overdrive-results-list tbody' ).append( $tr ); > > fetch_availability( prod, $tr ); > } > >- $( '#results tr:odd' ).addClass( 'highlight' ); >+ $( '#overdrive-results-list tr:odd' ).addClass( 'highlight' ); > > var pages = []; > var cur_page = offset / results_per_page; > var max_page = Math.floor( data.totalItems / results_per_page ); > > if ( cur_page != 0 ) { >- pages.push( '<a class="nav" href="#" data-offset="' + (offset - results_per_page) + '"><< Previous</a>' ); >+ pages.push( '<a class="nav" href="#" data-offset="' + (offset - results_per_page) + '"><< ' + _("Previous") + '</a>' ); > } > > for ( var page = Math.max( 0, cur_page - 9 ); page <= Math.min( max_page, cur_page + 9 ); page++ ) { >@@ -95,10 +103,12 @@ function search( offset ) { > } > > if ( cur_page < max_page ) { >- pages.push( ' <a class="nav" href="#" data-offset="' + (offset + results_per_page) + '">Next >></a>' ); >+ pages.push( ' <a class="nav" href="#" data-offset="' + (offset + results_per_page) + '">' + _("Next") + ' >></a>' ); > } > > if ( pages.length > 1 ) $( '#top-pages, #bottom-pages' ).find( '.pages' ).html( pages.join( '' ) ); >+ >+ $( '#overdrive-results-list input.star' ).rating(); > } ); > } > >@@ -140,7 +150,7 @@ $( document ).ready( function() { > <div class="pages"> > </div> > </div> >- <table id="results"> >+ <table id="overdrive-results-list"> > <tbody> > </tbody> > </table> >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt >index 9b2ea7c..6b6a789 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt >@@ -263,18 +263,18 @@ $(document).ready(function(){ > $("#highlight_toggle_off").show().click(function() {highlightOff();}); > [% END %] > [% IF ( OverDriveEnabled ) %] >- var $overdrive_results = $( '<span id="overdrive-results">Searching OverDrive... <img class="throbber" src="/opac-tmpl/lib/jquery/plugins/themes/classic/throbber.gif" /></span>' ); >+ var $overdrive_results = $( '<span id="overdrive-results">' + _( 'Searching OverDrive...' ) + ' <img class="throbber" src="/opac-tmpl/lib/jquery/plugins/themes/classic/throbber.gif" /></span>' ); > $( '#breadcrumbs p' ).eq(0) > .append( ' ' ) > .append( $overdrive_results ); > KOHA.OverDrive.Search( "[% OverDriveLibraryID %]", querystring, 1, 0, function( data ) { > if ( data.error ) { >- $overdrive_results.html( 'Error searching OverDrive collection' ); >+ $overdrive_results.html( _( 'Error searching OverDrive collection' ) ); > return; > } > > if ( data.totalItems ) { >- $overdrive_results.html( 'Found <a href="/cgi-bin/koha/opac-overdrive-search.pl?q=' + escape( querystring ) + '">' + data.totalItems + ' results</a> in OverDrive collection' ); >+ $overdrive_results.html( _( 'Found' ) + ' <a href="/cgi-bin/koha/opac-overdrive-search.pl?q=' + escape( querystring ) + '">' + data.totalItems + ' ' + _( 'results' ) + '</a> ' + _( 'in OverDrive collection' ) ); > } else { > $overdrive_results.remove(); > } >diff --git a/koha-tmpl/opac-tmpl/prog/images/Star0.gif b/koha-tmpl/opac-tmpl/prog/images/Star0.gif >deleted file mode 100644 >index 44ffdf488560eebbf1f8a5db485fabe581db9625..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1360 >zcmW+#dr*{B6u&wqk14g)nX*VzN^ONQZ;1<v3Wdm&qN$aMgR)!!6D$>5lbw+Tc?E;3 >zLD#52O_$V^9*)WkqwO@QbD?!KQy%MEWCe@R)@7yB@9zEY%sJ=xI^Q>UUcz+KN;4b9 >zyo`~4ibxU(B2L6~r4%ViN|55Dm~Ki%Qj!!TIZ38xg(4wI2ojtG)2mz&m&65ePMiUW >zm?9>L31XZW3Sa{oSXjn1(>(e~rG!#kDW+*rNvWhzk}Juy3N(dOLMXwNU|JMrxl~*z >z&J}0Sh*ia;VnQ*l7+9eiU=R(JkcA$IfemP2VVP+|y2cYyaw(bi2U=7@NWrCG+AdU} >z$%W)xat8Mhg;~jjWLz@XLmrTcZNvfp5CMl!4KRp?N{m7Wh=C1gU@@JXZllKILNFa9 >z{DBq~=Ylij3cFB&reIt!<cOpZ0CZs-LBlPgL>`cdZNvdhFbs!K4KRqtCS*Yeh=C1g >zrcb1&(MFBOa4`f4f1pLhnf^F*u7P{&X5fT6=D=0-Y#?ZzdLTQ!8i+$5A>dFW1w`wc >z1axTN05m=aTnXX9Q-G?8=x3tui4GARAo`kUD^Vd)5m6~o1(BVoYTywLyPIe~Q9aQ? >zqQgW#5H%7xANjTp__q!8mkjtT{9e2N-vZx1h5iQ>5ARvMp3V1ftnqbz)ay3iYhKcI >zYM$qK!i|F_eEQ>jLk7Vpi+~2E{|Och(;;DrM`};mf=3#cpFUFOEE*A>RFl~2exuCL >zo6`RD!WE{HF>|cl(+#T<i@itJI`2%ml~nw2@$L9}dwP8Jw9!>*MTgAJuV#)L{Gfiv >z#B+u5V_VN(9M*QcCZu{=o@dI~clIYgne?k?-Q+(Cymu@Ywne5y<=(!2u5o`u>ZOMC >z-}j}oRi(y$`rz#L*UOf!jm;Z+#Z%r^ot@fX^R=XZknE2BuxEVEvlHjfKDx18g{+(F >zdewYpXJpz%WvT5v-813crW(uo&fgqM%Cb|IUCneInA>Q5?rNCn?6s45{;KS#oGT{_ >zM@D6DPWkJ~_59(ltZ4N0-8?Vbaw}$>_}CM4tDe?)W0oJwasRaOfZMXg*VpxD_^1We >z8q0mp<u7w{##;aLJ?ePs8|%K6&hky}Ezahc&@*Yz=Z8-HqS6*LwEAlP6R{a93q~&u >zZYea3-#I+GJF&BzbzIo!Dt<9^)2h<YYw^2FCJn9{QTEy|pWOKD<=u`|sjV6DEvEKM >zt6SbmeavLuel4uNa!H&a^96fw$DX}A-(F;?{CwfmF7x8MM|L!uI@Z}*s+Sd-gj}7K >zSvfPyo;hJx(5aX9)vPs|J9n)=@xE)u<qdtqV*8JU&yTVihB#^qo+)+2l{M{IP**e| >zI(cvT($LIW+oJxAxW6Aya>e@IGbTHX_AJk=y4Fb}W_@dnEburQ@{OL^-x+Ua%^A2; >lntV8<$5uJ3Y0Qv_xJJW<h&R==yWKy!5+)ytA2f)?{0}p#!-fC= > >diff --git a/koha-tmpl/opac-tmpl/prog/images/Star1.gif b/koha-tmpl/opac-tmpl/prog/images/Star1.gif >deleted file mode 100644 >index 203863874dcba824ea7b948e0ef00c750cefce19..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1395 >zcmW+#dr*{B6u*citjX$%PLY!4Bo5PL<1G|vVb<}1Ha;3lY6caOxr&(OqfB<N;icjx >zuIQMz40I_(WsO8p2{Q-NY_6*bga)Xv$ZHLTz(HK`^t*fiJ9EzYz0UW|n?H9(WMUEv >zX8nwjeu_vE2_jC!bfpw2NlK97q?m3>MN*O!Bsoc@XN4jmNeB|01k<Zr5tqaTaZa28 >ziI^fLi3wty7z$tm8dzAyG}Ao#Nu`8RTq&k$QAw$!P?9Ujv<ftZR6;1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tH0>fkg+CzRj_Jmwe@;2j+F}Jr@%5Y)bIr<kp>|7e%;B<;{Y&p)=PU*%+Et?8piU >zAA2}s?mxvAZ-akb^k83^vA}R))uI_5wRG{!#;i@r7DryiOUI9IUovy;v7<#5;TGpD >zgU9LruRF!^tWS=N`q7kSG*=pCm*n|(WR}djY}&f+6wOX~ST<(j<r2%2Df@3*K6vf) >aCzi%twk7B96rJd*cv$W^`HP<)i~1ik=F+49 > >diff --git a/koha-tmpl/opac-tmpl/prog/images/Star2.gif b/koha-tmpl/opac-tmpl/prog/images/Star2.gif >deleted file mode 100644 >index 2b60940ffc660d254c308ebf1df7e94c59c0f600..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1410 >zcmW+#drZ|;96wCRdzpfUOty@vOmX;N?c}%$VS<X<NJ}Qek;2U5Yo^4b0cvBHhnnI8 >z9~}bnF-asqB{wK28U!wnz(OSzNG^K0B64#VMbPfI&$;Kn@4nyf=k@*lqE@XiElT{H >zO<^O9k$#Fu5(y$s#B`+;DM?C@;-r{vN<~tV6eKxGre}pBAxQ`loCMRWToISV1#wQC >z0g0F*CW#4RoEQpV0~%OZ#x&DB`bnjPQd}vfX;De3q)?J8$+QYIg;YW)!IfZI6lS?p >zTqw>JXV8dM#iU|FF|HU`p&DQi4V93E9*BVrXkcNPX+yfk6H;<1nf3=-R6<C>rC{1F >zRG`U)<XmzF_Yj3y$%JHFGT1{Nkcn-?0sjyIhfobLh=xjxLI;R}4QOC7ot$o?#^XXT >z9VGmL78U1$Gvo@pP=TgkTrlK_q!9pgVH`ojEuusokcn-?0ZlLrhfobLh{h&lK?jI| >z4QQrMq^HqFjmK~?1POnjMa7x^ICQSAd+Vm_ggR!|RrIVYXq~z%JH6_PLm$EAP$RiS >z>zlZAXkZsKJ_lS0;lY!Os*)(n>C7ePA#&yuo%rt!ZdgKef#@<(1yMCo9Z}<((X7`a >z$H#_qUcbm6d7A0y+cDao^r9!het(nwcC_Q~xF^kv9UUu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DTFS3p@n>>pvZ)knf^hdM) >zxfyxTPv6jZzvD&P-lq@F=;}A^ZGQhs)}--9-jDyKnjYS+^oY%NY02nmwV059<~g03 >z-t|hIqjuE?WIA=IzC1d;%jNR!N8Smtper!@#r@>yqA#Y`EL^&8w$7^KfHBUX^O>lb >z<B&U~aVTFmesb_$wsm|}T!6FJ@&2_=S$E=cViLR0e73Om#6W&u!_KY%qr<y}0nd#W >z=O6PKs7eSKHy$o6oLk(j^Y!}9qt)lI+m00_w%+;`Ayajx0)La(6Qx<>wRP~D?Ys1e >zA+hm4xSa@EcIa!;myzq_yJc|$JC%Mjxl1$Any@HPJ84KPJMiyxWtn!Yx$v~j5rfV* >zH?7;<H{S7_=h=IH?eCqNtq<)CoX%*E3Y=M*UsR#Znp<5pr}(erz|(ovMSc&0-|_44 >z>)m<Lw!-q7*UFlo2i6v8O6_|JgXYe<+h2FX%71gvEqBXUt?{VgLU8Bn3!XICM`nB< >feBFKPypU&}6HnIlvy{>1M->-FTkL0B694}JB*n>K > >diff --git a/koha-tmpl/opac-tmpl/prog/images/Star4.gif b/koha-tmpl/opac-tmpl/prog/images/Star4.gif >deleted file mode 100644 >index 473cb32087da78d40ebd8968a542b0bc50b76c55..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1380 >zcmW+#dr*{B6u;;yU^Oz@IOQ-9g-8-ibsKQoz!7PYkjJPLBacyos}4kg;ZpWcUW$!^ >zNyH@u9Yeqwlu|-eQrbYl%fnD?f<%Eua9bX+kdbox-M#;vIp_Rd=lg;~^eeSn63DaU >zA3~&hLP{<rlafkFR3(HITnZ)ym4c`y7m{<yndDS*qGp+pj7!EOqmmJ|N`<6cQYI;t >zlmJN*Aqkg+NkSz-0c=163(J@$ibp*z1QUV^K@=@2&IM<JQ^AQ+fhOaEF~O){M2W&I >z<$^Lnsh|WJu__1`gb6|g0V`Ak45FbDvd{xDumKG$EE8o&)p(3^$~jT~K#Pho&M0R@ >z*@X%;DdUuKO5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n+}R&{;m6aB)XP&eqc}SCqQAcj%ISG`3e(EnS`9 >zmiXtZ9uLY+EV-4x>cXcNlFn+TCX)g`tX~ruV0<yCEOBnRF|2&a+c!MUIzGSK>HGPw >WB{>D$+-0`Z-OKe#Id5l2bpHd;>%uJn > >diff --git a/koha-tmpl/opac-tmpl/prog/images/Star5.gif b/koha-tmpl/opac-tmpl/prog/images/Star5.gif >deleted file mode 100644 >index 0a61173924a33b422e21e9d649b9f50b36321465..0000000000000000000000000000000000000000 >GIT binary patch >literal 0 >HcmV?d00001 > >literal 1284 >zcmW+#eN2^A7(XnUkaYoX)3$;I<h^-iOgZw^MG$CL(TO!nC2*w3`6B}=`H0dsG(l!v >zFe^Bb2tv-9GLR1=qy{$}$uXKjph$)RdoLFTbOpqZPQP={f6t!h`F%a_yD`BM5xHj{ >zd6p~?BGnU8aw(aVR7#>MA*A3^Fe#`ML^ZjPoJ-Cmr;-yj%Y<ZHGA0?7jHp#AB;}Ga >zNvWg+NRkLixFk#xDhUc;0~%OZ#xzkp>Tw~M5L5`FXi;%4I1`)-PLv8X85fKRMg=2E >z6lN(GlnF`&CD4dfLAW4H5Gn{*p&DQi4V93E9*BVrXkcNPC_}2oW1LgYiSh?pRE%*( >zIU~w0RG>*2r<79y_Yj3yP8cVY6WBu@kcn-?0sjyIhfobLh=xjxLI;R}4QOBym7Hp$ >z#-of86(szD78Rw8666ZIP=O{Rlo8~Jq!9pgVH`ojEuusokcn-?0ZlLrhfobLh{h&l >zK?jI|4QQfHq^8kEjYn`X1POnjMMa7FI8?5#d#k4Fgeqp&Rn)92XqCDvJGJVHLmk28 >zP$9WQtDCrVC}0;fJ_lS0;lUHA=10<|`?fl7CC?3~&h!M&UJKK@Ua|ic<-B2;x|Z;7 >z-%jVBNmHGM=_@9OZQZO$nC*RYvORG0^18{cSEsLTn`rT~HwN6PGmSI`Pqc<<?J-lG >zTW;09bo-oPq9y2`hS2e5v!mTIRu`!?Mh{f@4%e7^kNM!!_g{2(gHaL$4MhDD!~>>1 >zU)WS%)p5i_Z%XN|ueKF=2X6j$Q^T3A<Im|od1!b)ZKKs^eWAPO+LVYapRH$t@<Y<M >ze7)NDBYk+H@2@;G>w43ow{aUce_VJYEOWT`=wF4)*Z;6))$27OU&Uo;+4j!Q6FYL^ >zjb472^E?`K{a5=}4<6aud}8WB=;WpI$u}!Q%X2Rz{dBV_V`!;0Ir6~d_?RuP#IGYO >ze<9QHFns3k&LX{YZt1Qydu&hmI8NOj3>g()tk|A=u(j&ayMs*+R+iPBYCCw^vodiw >zBgZk&u;lk0yRFUp2g}oI#;2aodvDmbf8pn69=&}%qh+YMqAWQ#LhJc%drYQp+qAtu >zCv~JmSK0RA^o1Vd8{xW?`GIlIi+QP0sgDYrcZPPB|MK6Vg2!tYPH%7=bMB71KhyYH >z!4kudRRwncb5(IqTeKICdT%yX$IX0tz#8c|pH^aC5zseM<Zs<|H`aLg<$z-SH(K>^ >z)0OVKpRMZb_BU(wfnL#zqm3mo=K1?+rSZ${fu(WFxOY@kaB=NPgC&38$*0<Fy6Cw- >z;=N)XYw=^TZ+&22S-zLGrkAA_MxKpLzgRq8@nl#2*@~pxq|%t|W%sO=?z7yOci3>x >dSba#BtyLDYQLU!bVzSqMx#OMhH@LYG^Z&S!h!y|< > >diff --git a/t/External_Overdrive.t b/t/External_Overdrive.t >new file mode 100755 >index 0000000..a974d5e >--- /dev/null >+++ b/t/External_Overdrive.t >@@ -0,0 +1,14 @@ >+#!/usr/bin/perl >+# >+# This Koha test module is a stub! >+# Add more tests here!!! >+ >+use strict; >+use warnings; >+ >+use Test::More tests => 1; >+ >+BEGIN { >+ use_ok('C4::External::OverDrive'); >+} >+ >-- >1.7.10.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 10320
:
18360
|
18361
|
18687
|
18688
|
18970
|
19225
|
19493
|
19773
|
19774
|
19775
|
19884
|
19885
|
19886
|
19887
|
19989
|
20024