Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable range search for money fields in search kit + afform #20930

Merged
merged 1 commit into from
Jul 22, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Allow total_amount to be exposed for searching by range

Before

search range not available for money fields

After

image

Technical Details

You have to change the type from 'text' to 'number' - which feels like the wrong default (since searching is only available for number) - this doesn't seem to be the case for 'Contribution ID' which defaults to number - I suspect there must be another list like this somewhere of types

Comments

@colemanw

Allow total_amount to be exposed for searching by range
@civibot
Copy link

civibot bot commented Jul 21, 2021

(Standard links)

@civibot civibot bot added the master label Jul 21, 2021
@colemanw colemanw merged commit 0b9f2a6 into civicrm:master Jul 22, 2021
@colemanw colemanw deleted the total branch July 22, 2021 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants