u3a-siteworks-development / u3a-siteworks-core

The core plugins
GNU General Public License v2.0
1 stars 0 forks source link

fix 1053 #95

Closed edwery closed 2 months ago

edwery commented 2 months ago

Change meta_value/key alteration into a meta_query so as not to clash with meta_key use in date sorting.

edwery commented 2 months ago

The type can be omitted - its the type of the item to compare so that the "=" is not misused - but in this case its defaulted anyway, so no need for it. The meta_query will accept an array or an array of arrays, so I thought just having one was simpler.

mike99christie commented 2 months ago

Ok, the documentation I read is perhaps out of date.