When specifying a number of post types for a relation, the lightbox paging only
uses the first selected post type.
What steps will reproduce the problem? (Be *specific*)
1. create multiple posts in 2 or more post types (could be post/page/custom
type)
2. create a new relation custom field
3. click 'set search parameters' and tick multiple post types so that the
number of search results will be more than 10
4. save field and add to a post type
5. create a post type with the new relation field
6. click the button to create the relation
7. when the lightbox appears note the pagination links - this will correctly
show 1 link per 10 results
8. click on the page 2 link or higher
What is the expected output?
You should see the paged results for all selected post types
What do you see instead?
You are shown the results for page X of the first selected post type
It seems that the paging is ignoring the fact that there are multiple values
for the post_type[] <select> form control and just using the first post type.
Does the problem continue if you disable all other plugins? (plugin
conflicts cause a LOT of problems, so please isolate the problem)
Yes
Please copy and paste the system information that appears in a yellow
textarea when you click on "Report a Bug" on any CCTM admin screen (this
includes the version of the
plugin, the version of PHP, the version of MySQL, a list of other active
plugins etc.):
*SYSTEM INFO*
------------------------
Plugin Version: 0.9.8.6-pl
WordPress Version: 4.1.5
PHP Version: 5.4.28
MySQL Version: 5.5.42-cll
Server OS: Linux
Language: en_GB
------------------------
ACTIVE PLUGINS:
* Contact Form 7 v.4.1.1 [http://contactform7.com/]
* Custom Content Type Manager : Advanced Custom Post Types v.0.9.8.6 [https://github.com/craftsmancoding/custom-content-type-manager]
* Lock Pages v.0.2.3 [http://wordpress.org/extend/plugins/lock-pages/]
* MailChimp for WordPress Lite v.2.2.8 [https://mc4wp.com/]
* MCE Table Buttons v.3.2 [http://10up.com/plugins-modules/wordpress-mce-table-buttons/]
* Really Simple Twitter Feed Widget v.3.0 [http://www.whiletrue.it/]
* Resize At Upload v.1.0 [http://dev.huiz.net/2009/01/26/plugin-resize-at-upload-v1-english/]
* Simple Taxonomy v.3.5 [https://github.com/herewithme/simple-taxonomy]
* WordPress Importer v.0.6.1 [http://wordpress.org/extend/plugins/wordpress-importer/]
* WP Font Awesome Share Icons v.1.0.12 [http://www.hostivate.com/en/blog/wp-font-awesome-share-icons/]
------------------------
CURRENT THEME: New Theme Test
Original issue reported on code.google.com by ThomasDa...@gmail.com on 2 Jun 2015 at 5:34
Original issue reported on code.google.com by
ThomasDa...@gmail.com
on 2 Jun 2015 at 5:34