Extension.get API - Only apply special filters once (key/keys/full_name)
authorTim Otten <totten@civicrm.org>
Thu, 22 Feb 2018 20:15:24 +0000 (12:15 -0800)
committerTim Otten <totten@civicrm.org>
Thu, 22 Feb 2018 20:36:24 +0000 (12:36 -0800)
commitc3733bf533daf1aef3bb6f72074c4318c917cb7f
treefa1ea1725e965d1dbbe55e52faf6fb5487c651c2
parent1d470b758666648ede1c2d4cffdbeb1252ab3d18
Extension.get API - Only apply special filters once (key/keys/full_name)

Filtering extensions by key is a good idea -- so good we have three ways to do it! ;)

All of these fields accept a `string|array<string>` input, which is different from
the typical filtering supported by `_civicrm_api3_basic_array_get()` (which only
matches on values)...  If you happen to choose a basic filter that passes both
filters (i.e.  a simple string-match), then it works.  But if you choose a filter
where they behave differnetly (i.e.  an array), then you get weird results.
api/v3/Extension.php