mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 12:08:01 +00:00
We have been encountering errors in the community pipeline for the contacts sort by country spec. Upon investigation, it was discovered that the spec assumes the country code is used for sorting. However, the sorting actually relies on the country attribute. The payload from a previous spec run indicates that none of the contact objects include the country attribute. This fix addresses the issue by aligning the spec with the actual implementation logic. Here’s an example payload from the previous spec run for reference: <img width="1063" alt="Screenshot 2025-01-31 at 6 17 44 PM" src="https://github.com/user-attachments/assets/df9b26e8-c5d0-432a-9d2a-16f76cb66967" />