test for pre-cat slightly off in OPAC My Account, spotted by Steve Callender
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 7 Apr 2011 18:40:35 +0000 (18:40 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 7 Apr 2011 18:40:35 +0000 (18:40 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20017 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/myopac.js

index 819f8aa..8f136b1 100644 (file)
@@ -286,7 +286,7 @@ function myOPACDrawCheckedTitle(r) {
        var circid = r.circ;
 
        /* Draw pre-cataloged items */
-       if(!record || checkILSEvent(record) || !(record.title() && record.author())) {
+       if(!record || checkILSEvent(record) || !(record.title() || record.author())) {
                var req = new Request( FETCH_COPY, r.copy );
                req.request.circ = circid;
                req.callback(myOPACDrawPreCatalogedItem);