Skip to content

Fix singular row count label#98

Open
Nihar2006 wants to merge 1 commit into
toolforge:mainfrom
Nihar2006:fix-singular-row-count
Open

Fix singular row count label#98
Nihar2006 wants to merge 1 commit into
toolforge:mainfrom
Nihar2006:fix-singular-row-count

Conversation

@Nihar2006

Copy link
Copy Markdown

Fixes T419564.

Before:
Resultset (1 rows)

After:
Resultset (1 row)

This updates the row count label to use the singular form when exactly one row is returned.

@Nihar2006 Nihar2006 force-pushed the fix-singular-row-count branch 2 times, most recently from d0a264a to 470eb95 Compare July 5, 2026 14:06
Bug: T419564
Change-Id: Idaa739f08156f0a18440a40b282f0ce032c629f4
@Nihar2006 Nihar2006 force-pushed the fix-singular-row-count branch from 470eb95 to a6da2af Compare July 5, 2026 14:15
@Nihar2006

Copy link
Copy Markdown
Author

This PR has been updated to remove unrelated line-ending changes that were introduced when rebuilding the compiled template on Windows (CRLF vs. LF). The diff now contains only the intended fix for singular/plural row-count labeling.
The change was also tested locally using docker-compose, confirming correct label rendering for queries returning 0, 1, and multiple rows. Please let me know if any further changes are required.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant