Skip to content
Browse files

Bump version to 0.4.2/

  • Loading branch information...
1 parent 4b66675 commit 650d999b5996e7f1243fe2e1f1a21f039900f047 @dnephin committed Jul 6, 2011
Showing with 3 additions and 10 deletions.
  1. +1 −7 README
  2. +1 −1 plugin-src/setup.py
  3. +1 −2 plugin-src/tracadvsearch/backend.py
View
8 README
@@ -28,8 +28,7 @@ to update the index immediately.
__ Project Status __
-Still under development.
-
+Stable, and active.
__ Requirements __
@@ -89,8 +88,3 @@ Your trac.ini may already have a components section.
trac.search.web_ui.SearchModule = disabled
-
-__ TODO __
-
-- Filters for ticket only properties
-- improved summary
View
2 plugin-src/setup.py
@@ -1,7 +1,7 @@
from setuptools import setup
PACKAGE = 'TracAdvancedSearch'
-VERSION = '0.4.1'
+VERSION = '0.4.2'
setup(name=PACKAGE,
version=VERSION,
View
3 plugin-src/tracadvsearch/backend.py
@@ -4,7 +4,6 @@
import datetime
import itertools
import pysolr
-import re
from advsearch import SearchBackendException
from interface import IAdvSearchBackend
@@ -97,7 +96,7 @@ def query_backend(self, criteria):
def _build_summary(self, text, query):
"""Build a summary which highlights the search terms."""
if not query:
- return text
+ return text[:500]
return shorten_result(text, query.split(), maxlen=500)

0 comments on commit 650d999

Please sign in to comment.
Something went wrong with that request. Please try again.