Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.79k stars 1.58k forks source link

Allow counting non-numeric fields in calculation views #14930

Closed aptkingston closed 3 weeks ago

aptkingston commented 3 weeks ago

Description

This PR allows counting non-numeric fields in calculation views. Previously this was only possible on numeric fields, and counts didn't correctly rehydrate in the UI as the field property was stripped.

Example - counting the amount of rows with each country (an options field) in a table: image image

qa-wolf[bot] commented 3 weeks ago

QA Wolf here! As you write new code it's important that your test coverage is keeping up. Click here to request test coverage for this PR!