Show More
@@ -265,7 +265,7 b' class WhooshResultWrapper(object):' | |||||
265 |
|
265 | |||
266 | f_path = '' # noqa |
|
266 | f_path = '' # noqa | |
267 | if self.search_type in ['content', 'path']: |
|
267 | if self.search_type in ['content', 'path']: | |
268 |
f_path = res['path'] |
|
268 | f_path = res['path'][len(res['repository']):] | |
269 | f_path = f_path.lstrip(os.sep) |
|
269 | f_path = f_path.lstrip(os.sep) | |
270 |
|
270 | |||
271 | if self.search_type == 'content': |
|
271 | if self.search_type == 'content': |
General Comments 0
You need to be logged in to leave comments.
Login now