Last change
on this file since 11110 was
3673,
checked in by jens, 16 years ago
|
- unclutter package by moving all patch files into a dedicated
subfolder and importing it.
|
-
Property svn:keywords set to
Id
|
File size:
511 bytes
|
Line | |
---|
1 | from Products.ZCatalog.ZCatalog import ZCatalog |
---|
2 | def searchResults(self, REQUEST=None, **kw): |
---|
3 | """ |
---|
4 | Calls ZCatalog.searchResults with extra arguments that |
---|
5 | limit the results to what the user is allowed to see. |
---|
6 | don't do that for WAeUP |
---|
7 | """ |
---|
8 | # user = _getAuthenticatedUser(self) |
---|
9 | # kw[ 'allowedRolesAndUsers' ] = self._listAllowedRolesAndUsers( user ) |
---|
10 | |
---|
11 | return ZCatalog.searchResults(self, REQUEST, **kw) |
---|
12 | |
---|
13 | from Products.CMFCore import CatalogTool |
---|
14 | CatalogTool.searchResults = searchResults |
---|
Note: See
TracBrowser for help on using the repository browser.