Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Ticket #713 (closed enhancement: fixed)

Opened 7 months ago

Last modified 6 months ago

User-defined locales for concept search

Reported by: akollegger Assigned to: bwolfe
Priority: minor Milestone: OpenMRS 1.3
Component: OpenMRS Code Base Keywords:
Cc: akanter Introductory Ticket:

Description

For multi-lingual users, it is useful to be able to search for concepts in any of the locales within which they are proficient. A user property should be added to support an ordered list of locales, and the search should be modified to use that list when looking for concepts.

Attachments

locale_search.patch (76.7 kB) - added by akollegger on 04/29/08 17:54:14.
Patch that provides the proposed functionality.
local_search.patch (72.4 kB) - added by akollegger on 04/29/08 18:02:19.
Another version of patch file, without absolute paths.
ConceptWord.hbm.xml (0.8 kB) - added by akollegger on 04/30/08 16:13:09.
locale_update.patch (83.4 kB) - added by akollegger on 05/02/08 01:27:06.

Change History

04/29/08 17:54:14 changed by akollegger

  • attachment locale_search.patch added.

Patch that provides the proposed functionality.

04/29/08 18:02:19 changed by akollegger

  • attachment local_search.patch added.

Another version of patch file, without absolute paths.

04/30/08 16:13:09 changed by akollegger

  • attachment ConceptWord.hbm.xml added.

04/30/08 16:14:48 changed by akollegger

The ConceptWord.hbm.xml file is also needed -- I had thought I'd get away without it, but locales should be mapped to Locale instead of a String.

04/30/08 16:17:19 changed by bwolfe

if changing concept_word, shouldn't we change conceptName, etc as well to use the locale object?

04/30/08 17:40:06 changed by akollegger

Well, yes, we should. But I was trying to change as little as possible. Whichever you'd prefer.

05/02/08 01:27:06 changed by akollegger

  • attachment locale_update.patch added.

05/02/08 01:32:28 changed by akollegger

OK, a final patch with more pervasive Locale updates is available as "locale_update.patch". If you'd prefer to check out a war file with the included changes, it is available here: http://wiki.tembopublic.org/download/attachments/1736705/openmrs_2008.05.01C.war

05/15/08 15:31:26 changed by bwolfe

  • cc set to akanter.
  • status changed from new to assigned.
  • milestone changed from OpenMRS 1.2.02 to OpenMRS 1.3.

Is the locale_update.patch a cumulative one? I see no changes to the datamodel via the update-to-latest script. Are the table column types staying as just strings ?

05/15/08 19:27:16 changed by bwolfe

  • status changed from assigned to closed.
  • resolution set to fixed.

Ok, I see that you don't need any db changes.

Committed in [4230]