Feature #771

avatar

onSearchTermParse send extra events

Added by Sein Kraft 178 days ago. Updated 176 days ago.

Status:New Start:09/20/2009
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:other
Target version:-

Description

If i search for a tag who only has one image (i will be redirected to the image) onSearchTermParse catch 2 events, and if the tags has more than one image (displays list of images with the tag) send 3 events.

I'm developing and statistics extension and this problem add one or two entries more than the real (it should be one entry per seach but the extra events add one or two more).

There is any way to avoid this and catch just the first event?

History

Updated by Shish Moom 176 days ago

avatar
  • Tracker changed from Bug to Feature

It sends one event for null (for extensions who want to add restrictions to every search, eg the rating extension), and then one event for each search term.

Changing it to one event for the whole lot would be a fairly large change, not sure of any particular benefits or drawbacks...

Also available in: Atom PDF