pods icon indicating copy to clipboard operation
pods copied to clipboard

Autocomplete error when trying to search other field (not @post_title)

Open carherbl opened this issue 9 years ago • 4 comments

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: image

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: image

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.

carherbl avatar Feb 05 '15 18:02 carherbl

This may already be fixed in the upcoming Pods 2.5.2, can you try it out? http://pods.io/latest/

sc0ttkclark avatar Feb 05 '15 18:02 sc0ttkclark

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.

carherbl avatar Feb 05 '15 19:02 carherbl

Punting to 2.5.3

Shelob9 avatar Apr 14 '15 22:04 Shelob9

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?

GaryJones avatar Jun 10 '18 18:06 GaryJones