Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » [Plugin: NextGEN Gallery] Problem with album query

  • ioryadragon


    So i was working on query to list all the galleries available in an album, but sort them after the image id, to see the latest galleries updated so i tried this:

    $album->sortorder = serialize( $wpdb->get_col("SELECT pid FROM $wpdb->nggpictures ORDER BY pid DESC") );

    The problem is that it doesnt work completely. Some galleries adds them in a bad order, even if the id clearly is there, or doesnt even shows them at all.

    Any ideas guys?


  • The topic ‘[Plugin: NextGEN Gallery] Problem with album query’ is closed to new replies.