systopia / de.systopia.moregreetings

CiviCRM Extension for additional greetings
GNU Affero General Public License v3.0
4 stars 10 forks source link

Make greeting fields searchable and available for reports #15

Closed jensschuppe closed 4 years ago

jensschuppe commented 4 years ago

One would want to include greetings fields in reports or perform searches on them. The custom fields are currently created wit "is_searchable": "0" in the resources file.

I guess there's nothing against setting them to be searchable, so that they can be included in reports or searches. @bjendres What do you think?

Workaround for now would be setting them to be searchable manually in the custom fields configuration.

jensschuppe commented 4 years ago

In addition to 600a6c9473cb6b51c5eccc3f3169014bb8904773, an upgrader task would set existing greeting fields to be searchable.

jensschuppe commented 4 years ago

The upgrader will only update the is_searchable property for greeting fields.

This will fail, if the is_searchable property is somehow not set to 0 but NULL, in which case the upgrader will do nothing to that field. If that's the case, the is_searchable property will have to be set manually in the UI.

jensschuppe commented 4 years ago

Merged and released with 1.0-beta3