[Koha-bugs] [Bug 35558] Do not fetch local image if none exists

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 14 15:33:31 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35558

--- Comment #9 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #8)
> (In reply to Nick Clemens from comment #5)
> > (In reply to Jonathan Druart from comment #1)
> > > However the page load will be slightly slower ofc.
> > 
> > I don't like this.
> > 
> > I think the check should be lower if we are going to do it earlier, maybe in
> > searchResults. I don't want to add to that routine, but I also don't think
> > this should be done in the script.
> 
> And it won't be faster to have this code in searchResults ;)
> 
> The "slowness" (how much?) will be there if we decide to have the info
> anyway.

If we prefetch the count when getting the biblio object we can reduce calls

I prefer loading the page and then making the calls because it makes the page
load faster - which benefits the user

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list