pods
pods copied to clipboard
Autocomplete error when trying to search other field (not @post_title)
Think it's a bug, but can't be sure.
Pods version : 2.5.1.1 WP: 4.1
I have 2 pods stored in tables. From pod2 I access with a relationship (multiple, autocomplete) to pod1. I use the condition to search by one custom field, not post name:
and also filter the search by t.post_author = {@user.ID}
If I have only some entries in pod1 (the one where autocomplete have to search), all are listed as I click on the search box and everything is fine.
As soon as I have more than X (I guess that from some number of entries, they are not listed automatically), I get "Searching..." and no results.
In the admin-ajax.php:
I'm quite sure that the where is not well constructed, as should be d.ing_name not t.ing_name
In addition, if I change to multiselect (instead of autocomplete), everything works fine.
Not sure if that's enough info.
This may already be fixed in the upcoming Pods 2.5.2, can you try it out? http://pods.io/latest/
Tried with the pods in your link, but thats 2.5.1.1? I'm seing this in the plugins page.
If your link is correct. Still getting same error.
Punting to 2.5.3
Some time later...
@carherbl Was this issue fixed in the recent versions of Pods?
If not could you please do an Export from Components: Migrate Packages with the minimum data needed to reproduce this?