6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/20/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6982] Optimized Tags
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. .. .. . |_/ | || || | | \|___\__||__||__|
Comment
>> Actually we don't need to know the actual number of images/galleries > >> tag count. Is used only as a flag if the gallery/image has tags or > >> not to save later queries. So this can be a boolean value. > > > > Huh? Your saving the actual number of tags in ansel_tags.tag_count > and then your using the value of that field directly in > Ansel_Tags::readTags() and Ansel_Tags::listTagInfo(). With your > changes, once any tags are added/removed from an image or gallery, > the tag counts will never be correct because the value in the > ansel_tags.tag_count field is only taking into account the number of > times that tag is used in _either_ the images table *or* the > galleries table, when it needs to be both.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers