[Zope3-Users] How to use catalog.searchResults
mats.nordgren
mats at ronin-group.org
Sun May 21 11:58:18 EDT 2006
> (Pdb) catalog.searchResults(AbbreviationIndex = "ABC")
> *** TypeError: ('two-length tuple expected', 'ABC')
> (Pdb) catalog.searchResults(["AbbreviationIndex" ,"ABC"])
> *** TypeError: searchResults() takes exactly 1 argument (2 given)
> (Pdb) res = catalog.searchResults()
> (Pdb) res == None
> True
> How to use it?
Have you tried
catalog.searchResults(idx=('AbbreviationIndex', 'ABC'))
Sincerely,
Mats
More information about the Zope3-users
mailing list