Changeset 1282
- Timestamp:
- 10/23/07 13:10:57 (13 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid/PyLucid/plugins_internal/search/search.py
r1154 r1282 125 125 Process the search and retuned the results. 126 126 """ 127 pages = Page.objects.all() 127 pages = Page.objects.all().filter(showlinks = True) 128 if self.request.user.is_anonymous(): 129 pages = pages.exclude(permitViewPublic = False) 130 128 131 for term in search_strings: 129 132 pages = pages.filter(content__icontains=term)
