-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search data append wrong #35
Comments
Yah, unfortunately the feature wasn't intended to work with more than one attached-posts field on the page. Definitely a bug. Will have to update when I get a chance. |
Thanks for response very quickly. I'll wait until it gets updated. |
Any News on this? am having the same issue with 2 attached post fields for adding content. |
The problem, as described above, resides only in the Search feature. With that in mind, there is a workaround. Set the Custom Attached Post field's query args 'post_per_page' parameter to -1, which will remove the limit on the number of posts in the initial Available Posts frame. That is, every single post from your site will appear in the initial window, so you never have to use the Search component. Beware! This may be problematic depending on the size of your site and your server or browser. If you have thousands of posts, this could cripple your database server or the WordPress UI in your browser. You can help prevent against this by using additional query arguments to reduce the number of results returned. Here is an example using posts_per_page, post_type, and category_name arguments.
|
This pull request is a fix for this issue: #41 . |
Hi Team,
Thank you for your plugin.
I have one issue:
I using two field with type: custom_attached_posts
When I click the search button and select the data, I see the value returned is showing the wrong position. You can see a screenshot I attached below.
http://prntscr.com/dziula
Thanks
The text was updated successfully, but these errors were encountered: