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.

Issues AutoComplete isn't searching issue ids (Bug #280)


Added by Eric Davis at 2011-03-14 12:09 am. Updated at 2011-03-14 08:32 am.


Status:Closed Start date:2011-03-14
Priority:Normal Due date:
Assignee:Eric Davis % Done:

0%

Category:Issue tracking
Target version:1.2.0
Remote issue URL: Affected version:

Description

Currently the Issues autocompleter only matches an exact issue is or searches the subject. It should also search the id field, so "10" will show issue for: 10, 100, 101, 1010, etc.


Associated revisions

Revision ae0851dd
Added by Eric Davis at 2011-03-14 01:11 am

[#280] Include matching issue ids in the auto_completer.

Using SQL CAST to convert the issue ids to strings so LIKE will work
properly.

History

Updated by Eric Davis at 2011-03-14 12:20 am

I fixed this with a SQL CAST and an extra condition in the auto complete. Tests pass on Postgres.

Ready for review: https://github.com/chiliproject/chiliproject/pull/23

  • Status changed from Open to Ready for review

Updated by Felix Schäfer at 2011-03-14 08:32 am

The tests passed on SQLite and MySQL too, merged.

  • Target version set to 1.2.0
  • Status changed from Ready for review to Closed

Also available in: Atom PDF