You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the BeforeDataFetch method allows you to modify the query. When using order by you need to use the correct meta_value for the field, which is {postTypeId}_{fieldId}_value_key. You need to create a method that get this correct value. May post->GetFieldDbKey().
Also the documentation is wrong on this, Need to update it
Currently the
BeforeDataFetch
method allows you to modify the query. When using order by you need to use the correct meta_value for the field, which is{postTypeId}_{fieldId}_value_key
. You need to create a method that get this correct value. May post->GetFieldDbKey().Also the documentation is wrong on this, Need to update it
Also linked to #13
The text was updated successfully, but these errors were encountered: