Closed Bug 1129669 Opened 10 years ago Closed 7 years ago

places search() documentation doesn't cover the supported query properties

Categories

(Add-on SDK Graveyard :: Documentation, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: dietrich, Unassigned)

References

Details

https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/places_bookmarks#Searching_for_bookmarks There are examples that show usage of some of the properties, but there's no list of supported properties.
Should include the matching rules for each property value as well.
That's the documentation of the properties of a bookmark item returned from a search. There's no documentation explicitly about what properties can be set on a search query object. The search() method takes two arguments - a query object (or array of them) and an options object. The options object has a great table documenting the supported properties and their values: https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/places_bookmarks#search%28queries.2C_options%29 Look just above that, and you see that the query object has a few sentences about how the query objects are processed, but no table of the properties they support, nor the behavior of how the values are matched.
OS: Mac OS X → All
Priority: -- → P2
Hardware: x86 → All
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.