Patch for Squishdot.py
File contents
--- Squishdot.py.old Mon May 29 14:38:38 2000 +++ Squishdot.py Mon May 29 14:40:23 2000 @@ -1015,6 +1015,20 @@ return results return ResultSet(r) + def resolve_url(self, path, REQUEST): + """ + Hack/Patch for SiteAccess + """ + pparts = filter(None, split(path, '/')) + try: + obj = self + while pparts: + id = pparts.pop(0) + if id != self.id: + obj = obj[id] + return obj + except: + return def _searchable_result_columns(self): return ({'name':'title', 'type':'s'},