#6279 - Country filtering on stats broken

  • By
  • Added
  • 40 views
Identifier #6279
Issue type Major issue (breaks an entire feature)
Title Country filtering on stats broken
Status Completed
Handling member PDStig
Version 11 beta8
Addon stats
Description If geo-location installed, trying to view any stats pages containing a country filter would trigger a critical error.

This is because we were trying to populate ISO objects in the list of countries which is not supported in the form input list entry system.

The fix: Created a new CMSStatsCountryFilter class which extends CMSStatsListFilter but overrides list behaviour by using create_country_selection_list.
Steps to reproduce

Funded? No
Commits

Fixed MANTIS-6279 (Country filtering on stats broken) (c6c0a743) · Commits · Composr ecosystem / Composr · GitLab

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated