Warnings count and filter view for warnings differ #919
Labels
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature is broken.
Milestone
This is due to a different query when counting the translations and when fetching them for display.
GP_Translation_Set::update_status_breakdown()
useswarnings IS NOT NULL
https://github.com/GlotPress/GlotPress-WP/blob/2.3.1/gp-includes/things/translation-set.php#L464
GP_Translation::for_translation()
useswarnings IS NOT NULL
andwarnings != ""
https://github.com/GlotPress/GlotPress-WP/blob/2.3.1/gp-includes/things/translation.php#L340-L342
The later was added in ee2b016 for https://glotpress.trac.wordpress.org/ticket/435.
The text was updated successfully, but these errors were encountered: