[kforge-user] Questions about improvements needed :-)

John Bywater john.bywater at appropriatesoftwarefoundation.org
Tue Jun 12 17:24:04 UTC 2007


Rufus Pollock wrote:

> Nicolas BLANC wrote:
>
>>     Hi all,
>
>
> Yes, the feature you requested (i.e. project search searches 
> descriptions as well as names) should not be very simple to implement.


Yes, this is very simple to implement. On this line:

http://project.knowledgeforge.net/kforge/trac/browser/trunk/src/kforge/dom/project.py#L9

just add 'description' to the list of attribute names to be searched.

I just committed this change:

http://project.knowledgeforge.net/kforge/trac/changeset/1120

Other domain objects work in the same way, and probably need adjusting.

Caveat: search fields must be text fields...

Best regards,

John.

-- 
Appropriate Software Foundation
Registered in England and Wales
17 Chapel Street, Hyde Cheshire
Company number: 04977110
W: appropriatesoftware.net
T: 0870 720 2944
M: 0781 139 2292






More information about the kforge-user mailing list