Closed Bug 403847 Opened 17 years ago Closed 17 years ago

places organizer search won't find items tagged with multi-word tags

Categories

(Firefox :: Bookmarks & History, defect, P3)

defect

Tracking

()

VERIFIED FIXED
Firefox 3 beta3

People

(Reporter: moco, Assigned: moco)

References

Details

places organizer search won't find items tagged with multi-word tags the problem is we call URIHasTag() with each term http://lxr.mozilla.org/seamonkey/source/toolkit/components/places/src/nsNavHistory.cpp#4414 but ParseSearchTermsFromQuery will break apart multi-word tags (see http://lxr.mozilla.org/seamonkey/source/toolkit/components/places/src/nsNavHistory.cpp#5146) one solution could be to move the URIHasTag out of that for loop, and then use the tokenized words to build up the possible consecutive tags, and use URIHasTag() for each possible tag. (see bug #395452 for how that works.) doing that would fix this bug and fix bug #395462
Flags: blocking-firefox3?
yes, the fix is to move out the tag check from that loop, until afterwards. using each token, then figure out all the possible consecutive tags, and call URIHasTag() for each one of those. got this working locally, as part of bug #395462
Status: NEW → ASSIGNED
Flags: blocking-firefox3? → blocking-firefox3+
Priority: -- → P3
Target Milestone: --- → Firefox 3 M11
fixed as part of bug #405235
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-litmus?
Resolution: --- → FIXED
You mean bug 395452, I hope.
> You mean bug 395452, I hope. ugh, I did. thanks reed.
verified with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b2pre) Gecko/2007112804 Minefield/3.0b2pre
Status: RESOLVED → VERIFIED
Test case https://litmus.mozilla.org/show_test.cgi?id=7505 added to litmus on 3.1 test run for regression testing.
Flags: in-litmus? → in-litmus+
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.