CPT_Core icon indicating copy to clipboard operation
CPT_Core copied to clipboard

Sorting columns

Open wester97 opened this issue 6 years ago • 0 comments

I have added a new CPT with CMB2 that allows the user to link 2 posts together. So you end up with the linked post ID in the primary post meta. When retrieving the column, I am displaying the title of the linked post. But, how can I sort by this extrapolation? Currently I can sort it by meta_value_num because at query time the data is the linked post ID.

Thank you!

wester97 avatar Jul 11 '19 16:07 wester97