| Lines 40-45
          KOHA.browser = function (searchid, biblionumber) {
      
      
        Link Here | 
        
          | 40 |                 pagelen: newresults.length, | 40 |                 pagelen: newresults.length, | 
        
          | 41 |                 results: newresults | 41 |                 results: newresults | 
        
          | 42 |             }; | 42 |             }; | 
            
              |  |  | 43 |  | 
            
              | 44 |             //Bug_11369 Cleaning up excess searchCookies to prevent cookie overflow in the browser memory. | 
            
              | 45 |             var allVisibleCookieKeys = Object.keys( $.cookie() ); | 
            
              | 46 |             var scsCookieKeys = $.grep( allVisibleCookieKeys, | 
            
              | 47 |                 function(elementOfArray, indexInArray) { | 
            
              | 48 |                     return ( elementOfArray.search(/^scs_\d/) != -1 ); //We are looking for specifically staff client searchCookies. | 
            
              | 49 |                 } | 
            
              | 50 |             ); | 
            
              | 51 |             if (scsCookieKeys.length >= 10) { | 
            
              | 52 |                 scsCookieKeys.sort(); //Make sure they are in order, oldest first! | 
            
              | 53 |                 $.removeCookie( scsCookieKeys[0], { path: '/' } ); | 
            
              | 54 |             } | 
            
              | 55 |             //EO Bug_11369 | 
        
          | 43 |         } | 56 |         } | 
        
          | 44 |         $.cookie(me.searchid, JSON.stringify(me.searchCookie), { path: '/' }); | 57 |         $.cookie(me.searchid, JSON.stringify(me.searchCookie), { path: '/' }); | 
        
          | 45 |         $(document).ready(function () { | 58 |         $(document).ready(function () { | 
            
              | 46 | -  |  |  |