Viewing 5 replies - 16 through 20 (of 20 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for running the test and posting the warning messages; they are very helpful.

    What they show is that the SQL statement used to query the database is different from the WordPress WP_Query parameters that MLA is specifying. For example, the “ORDER BY” clause is changed from post_parent to post_date, post_status = "private" has been added and the LIMIT clause has been added. Most important, the $search_clause that MLA inserts to perform the ID/Parent search is gone and has been replaced by the default WordPress search clause (including the “>|<” switch). That’s why you get no results.

    It looks like some other plugin or software has gone back to the original 's' argument in the HTML $_REQUEST variables and built it’s own SQL statement from that.

    I know we’ve had trouble with Role Scoper in the past. Can you tell me what plugins are active on your site so I can look for interference? Thanks!

    Thread Starter jorgeorpinel

    (@jorgeorpinel)

    Yeah, there’s a bunch of plugins on this site. Let me try disabling the ones that I think could relate to media and see if I can pinpoint the culprit ??

    Thread Starter jorgeorpinel

    (@jorgeorpinel)

    Found it… Media Search was causing the conflict… Which is really funny since I was using it to provide the regular media library with the same functionality, to find items by parent. Ha. I guess I’ll have to choose one or the other!

    Plugin Author David Lingren

    (@dglingren)

    At last! Thanks for chasing this down such a long and winding road.

    I don’t think you need Media Search anymore, but if you find something it does that MLA does not do, I will try to make MLA the only “searcher” you need. Let me know what else I can do to help.

    Thread Starter jorgeorpinel

    (@jorgeorpinel)

    Yes. The choice is very obvious… MLA offers tons more functionalities. Thank you so much for all the work David!

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Search by parent’ is closed to new replies.