Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
PODS template not sorting using "orderby" #5373
Showing rental units available on the website "https://arlingtonpropertymgmt.com/" and attempting to sort by "date-available" field using orderby. Either no change to order of display or resulting in error message "Please provide either template or field name"
When using this syntax :
...on a test page ("https://arlingtonpropertymgmt.com/test/")
...the display is an error message "Please provide either template or field name" and no data displayed.
Steps to Reproduce (for bugs)
Do I have a simple text error? Is the field name "date-available" a problem because of the symbol "-" or do I have to change the field name etc to include "_" instead?
WordPress 5.1.1 running rentalproperty theme
Pods Package Export (helpful!)
Workaround or Alternate Solution Until Bug is Addressed
Related Issues and/or PRs
@neilsinger I just imported this locally and tested. All three shortcodes work perfectly fine on the Twenty-Nineteen theme. I'm sure we probably asked, but did you do a Conflict Test?
All three of those shortcodes respond properly, calling your template and sorting by date.