frandavid100 wrote:I would like it to search *only* tags
That would be Bug 399799 – add query options for tags, incidentally.
frandavid100 wrote:I would like it to search *only* tags
Max Karl Ernst wrote:Recent TagsCode: Select all
place:folder=4&group=3&queryType=1&applyOptionsToContainers=1&sort=12&maxResults=10
bomfog wrote:Max Karl Ernst wrote:Recent TagsCode: Select all
place:folder=4&group=3&queryType=1&applyOptionsToContainers=1&sort=12&maxResults=10
This gets you recently added tags. For recently *used* tags, change to "sort=14" (by modification time).
Other queries may need the same tweak. See <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=419866#c7" title="Recent Tags list in smart bookmarks no longer seems to be working">bug #419866, comment #7</a>.
Oropher wrote:Grouping's gone, replaced by 'type=':
type=0 - "URI" results, one for each URI visited in the range.
type=1 - "Visit" results, with one for each time a page was visited (may give multiple results for one URI).
type=2 - "FullVisit" results (like "Visit", but returns all attributes for each result).
type=3 - "DateQuery" results (equivalent to 'group by date').
type=4 - "SiteQuery" results, returns last visit for each url in the given host. (May require 'domain' to be set. Equivalent to 'group by site')
type=5 - "DateSiteQuery" results (equivalent to 'group by date and site').
type=6 - "TagQuery" results (equivalent to 'group by tag').
I'm not sure yet, but it looks like these queries may only work without 'folder' and 'type' being set. And we seem to have lost the ability to sort results by folder.
Sephirot wrote:DateQuery and DateSiteQuery helped me out, but I'd still like to see a "DateHostSiteQuery" (1st date, 2nd host, 3rd site; e.g. today > mozillazine.org > forums.mozillazine.org).
Ondrej, is it possible to add this query type?
best,
Ronny
Oropher wrote:Since 385245 landed, I've had a quick look through nsINavHistoryService.idl, but I couldn't see a way to fulfill these use-cases with a single query. Since there aren't AND and NOT operators available, I can't do it with a series of queries, either.
My use-cases don't look like they fit under bug 359332 - would you like me to file a new bug?
- Matthew
Sephirot wrote:Hey thanks. DateQuery and DateSiteQuery helped me out, but I'd still like to see a "DateHostSiteQuery" (1st date, 2nd host, 3rd site; e.g. today > mozillazine.org > forums.mozillazine.org).
Ondrej, is it possible to add this query type?
best,
Ronny
brablc wrote:Oropher wrote:Since 385245 landed, I've had a quick look through nsINavHistoryService.idl, but I couldn't see a way to fulfill these use-cases with a single query. Since there aren't AND and NOT operators available, I can't do it with a series of queries, either.
My use-cases don't look like they fit under bug 359332 - would you like me to file a new bug?
- Matthew
This was really nice use of the old API. There is really no way how to simulate the behavior now without any scripting. I can imagine, that we would include a new result type - RESULTS_AS_FOLDER_QUERY. Which could together with bug 359332 fulfill your needs.
Max Karl Ernst wrote:Wow, those were some major changes I wasn't expecting to see in this stage.
There might be a handful of queries I might need to fix in my bookmarks too, thanks Oropher for hunting down changes, and thanks Brablc for explanation.
Brablc posted new default Smart Bookmarks for recent tags, is there anyone that can post the rest if they were changed. I would look at them myself, but I can't seem to be able to recreate Smart Bookmarks in the latest build (Gecko/2008022806) even by deleting profile