• All, Hi currently in the get_items_per_page method in the Toolset_Potential_Association_Query_Posts class.

    	private function get_items_per_page() {
    		$limit = (int) toolset_getarr( $this->args, 'items_per_page' );
    		if( $limit < 1 ) {
    			$limit = 10;
    		}
    
    		return $limit;
    	}
    

    You have the default items for page set to 10. Is there a way to change this setting within the plugin’s UI instead of changing the limit in your code? Thanks

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Sharron Denice

    (@sharrondenice)

    Also, can we also control the order and the orderby in the get_results method other than editing your code? Thanks

    Anonymous User 14808221

    (@anonymized-14808221)

    Not within the UI, I mean, that is hardcoded and a default value, it’s the purpose of it.

    The Plugin does not provide methods to alter its own defaults.
    You can, however, alter them per user (each user does).

    Thread Starter Sharron Denice

    (@sharrondenice)

    Thank you Beda, I am however unable to find where each user can edit their defaults.

    Anonymous User 14808221

    (@anonymized-14808221)

    I think we misunderstand each other.

    Could you elaborate to me in what screen, you would like to alter what setting precisely?

    A few screenshots could help.

    We cannot alter that code, but maybe we can find a more suitable solution for the issue.

    Thread Starter Sharron Denice

    (@sharrondenice)

    Is there anyway to change this dialog so it displays more than 10 results on search other than manually changing the code itself.
    Screenshot: https://1drv.ms/u/s!AisbVwgnI4sGgm2x9cebwMR0bj9N

    Also, please confirm that the groupings attached to a post, we call them stores, will disappear on clone or when the post is re-scheduled. Thanks for your help

    Screenshot: https://1drv.ms/u/s!AisbVwgnI4sGgm5RQS-ZRc_5PZpF

    Thread Starter Sharron Denice

    (@sharrondenice)

    Toolset Types v3.0.1
    Toolset Views v2.6.1
    Toolset Maps v1.4.2

    Anonymous User 14808221

    (@anonymized-14808221)

    I see that this is related to the paid Types
    Please post this questions in the forum dedicated to it.

    This forum can only handle the Free Types topics, of which Many to Many isn’t part of.
    The number of items displayed in the Select2 cannot be changed within the GUI.
    I thought you refer to the number of related posts as displayed in the table, which can be changed in the GUI.

    The post expiration is a feature of Toolset Forms, another plugin of Toolset, paid, which I cannot support here either.
    In that plugin, you also partially can control the Select2 for related posts, which in Types by now cannot be done.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Default Items per Page Set to 10’ is closed to new replies.