• Resolved gaston

    (@gastonbazistcom)


    hi,

    i’m using a pro version. and so far, everything is working OK. this is a great tool. however, i noticed an issue with the pagenum property.

    if I do this:
    [nimble-portfolio template="4colround" items_per_page="Infinity" pagenum="99999999"]

    the WP ends up doing this query:

    SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
    FROM wp_posts
    WHERE 1=1
    AND wp_posts.post_type = 'portfolio'
    AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private')
    ORDER BY wp_posts.menu_order ASC
    LIMIT 999999980, 10

    the query runs OK until the LIMIT instruction.

    I personally do not use pagenum nor items_per_page attributes. you may consider this post solved… but you may also want to look into this issue for future versions.

    https://www.ads-software.com/extend/plugins/nimble-portfolio/

Viewing 1 replies (of 1 total)
  • Plugin Author Nimble3

    (@nimble3)

    I believe you are using Safari, Infinity is an invalid value, it should be a number and pagenum should be sensible too.

    If Shortcode Maker generated invalid values (due to browser incompatibility with the controls) you can replace it with correct values.

Viewing 1 replies (of 1 total)
  • The topic ‘notice pagenum issue’ is closed to new replies.