Skip to content

(fix) Expand clearSearchResults label to avoid ambiguity with test results#3169

Open
Skengmann wants to merge 1 commit into
openmrs:mainfrom
Skengmann:patch-3
Open

(fix) Expand clearSearchResults label to avoid ambiguity with test results#3169
Skengmann wants to merge 1 commit into
openmrs:mainfrom
Skengmann:patch-3

Conversation

@Skengmann
Copy link
Copy Markdown
Contributor

Requirements

  • This PR has a title that briefly describes the work done including the ticket number.
  • My work is based on designs (N/A — translation clarity fix)
  • My work includes tests or is validated by existing tests.

Summary

…sults

The clearSearchResults key's value was truncated to "Clear results", which is ambiguous in the orders context where "results" also refers to lab/test results. Expanding it to "Clear search results" matches the key's intent and removes the ambiguity.
@Pratikdeb07
Copy link
Copy Markdown

Hi @Skengmann ,Please include a ticket number in the pull request title, description and commit message . This is required as per the OpenMRS developer guidelines. Kindly review the guidelines and update the PR accordingly. Thanks!

@Skengmann
Copy link
Copy Markdown
Contributor Author

Skengmann commented Mar 25, 2026 via email

@denniskigen
Copy link
Copy Markdown
Member

Good eye on the ambiguity — "Clear results" could definitely be confused with lab/test results in the orders context.

Same as on #3170en.json is auto-generated from the source code defaults, so the change needs to happen in search-results.component.tsx (line 81) where the default is still 'Clear results'. Otherwise the extraction script will overwrite it.

Also a small thing — the PR description has unclosed HTML comment tags (<!-- without -->) so the summary/screenshots/related issue sections aren't rendering on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants