ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Update quick search to use a partial (Feature #760)

Added by Peer Allan at 2011-12-10 03:47 am. Updated at 2011-12-10 09:01 pm.

Status:Closed Start date:2011-12-10
Priority:Normal Due date:
Assignee:Eric Davis % Done:


Target version:3.0.0
Remote issue URL: Affected version:


I am working on an alternative search system for Chiliproject and I need to replace the quick search form in the base template. In the current view hierarchy I can't do that without replacing the entire base view.

Associated revisions

Revision d2ccdc88
Added by Eric Davis at 2011-12-10 09:28 pm

[#760] Extract quick search to a partial.

Contributed by Peer Allan


Updated by Peer Allan at 2011-12-10 03:54 am

  • Status changed from Open to Ready for review

Updated by Eric Davis at 2011-12-10 09:01 pm

I've committed something similar in d2ccdc88fa. Due to the new design I had to change the refactoring a little bit.

One thing to note: the partial uses a local variable search_term for the term someone used to search, instead of @question. I intend to refactor the @question instance variable out later so if you override this partial use search_term instead.

  • Target version set to 3.0.0
  • Assignee set to Eric Davis
  • Category set to Refactoring
  • Status changed from Ready for review to Closed

Also available in: Atom PDF