Modify ↓
Opened 12 years ago
Closed 11 years ago
#11486 closed defect (fixed)
searching in tickets search in wiki as well even if unchecked
| Reported by: | Owned by: | Roberto Longobardi | |
|---|---|---|---|
| Priority: | normal | Component: | TestManagerForTracPlugin |
| Severity: | normal | Keywords: | search |
| Cc: | Trac Release: | 1.0 |
Description
When I search term in trac adn I check only Test Case and everythink else is unchecked, the search results contains wiki pages.
but should not, because it is unchecked.
Attachments (0)
Change History (3)
comment:1 Changed 12 years ago by
comment:2 Changed 11 years ago by
| Status: | new → accepted |
|---|
Note: See
TracTickets for help on using
tickets.



I suppose that needed change should be done in:
svn://svn.code.sf.net/p/testman4trac/code/tracgenericclass/tracgenericclass/model.py near line 1024
def get_search_results(self, req, terms, filters): """ Currently delegates the search to the Wiki module. """ for result in WikiModule(self.env).get_search_results(req, terms, ('wiki',)): yield resultshould change into:
def get_search_results(self, req, terms, filters): """ Currently delegates the search to the Wiki module. """ for result in WikiModule(self.env).get_search_results(req, terms, ('wiki',)): //pseudocode, i am not sure the about the exact syntax if result wiki page name start with "TC": yield resultIt is very painfull if there are hunderts or thousands of wikipages.