Bug 16181 - Limit number of tags loaded initially for tag cloud
Summary: Limit number of tags loaded initially for tag cloud
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-31 20:50 UTC by Nick Clemens (kidclamp)
Modified: 2021-06-09 05:46 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2016-03-31 20:50:24 UTC
When a patron has an large number of tags (say 3,421) the tag cloud takes an inordinately long time to load.

Maybe we could enforce a limit on initial load and then allow user to load more or paginate through all?
Comment 1 Jonathan Druart 2016-04-04 13:30:34 UTC
Are you talking about opac-tags.pl?
Comment 2 Nick Clemens (kidclamp) 2016-04-04 13:33:03 UTC
(In reply to Jonathan Druart from comment #1)
> Are you talking about opac-tags.pl?
Yes
Comment 3 Jonathan Druart 2016-04-04 14:06:40 UTC
So you are talking about the table, not the tag cloud, that's it?

With 2000 tags the page is generated in 10sec on my laptop, not so bad
Comment 5 Katrin Fischer 2020-01-11 11:15:48 UTC
Nick, is this still something we should work on?
Comment 6 George Williams (NEKLS) 2021-06-09 05:46:39 UTC
This is still relevant.  We have a borrower that has tagged a lot of items.  When they load opac-tags.pl it takes over 4 minutes to load.  #mytagst has over 1000 rows for this borrower so I'm thinking that if #mytagst was converted to datatable, that would solve the problem.  When I load opac-tags.pl for a borrower that only has one or two tags, the tag cloud and the table load quickly.  It's when the borrower has a ton of stuff in #mytagst that the page drags.