WordPress.org

Ready to get started?Download WordPress

Forums

Query Wrangler
[resolved] Bug that wipes all settings of query after excluding fields from display (5 posts)

  1. linkswanson
    Member
    Posted 1 year ago #

    This module--opps I mean plugin--is a freaking godsend for me as Drupal is my platform of choice.

    I hit a nasty bug that completely destroys all settings from the entire query wrangler query. Like zaps them all to defaults as soon as you save.

    I added 3 fields: attached image, post title, and post content. I excluded image and title from display and added them as token replacements within the post content field. Hit save. Waa-waa everything is gone. The entire query settings have been wiped to defaults.

    Thanks for looking into this.

    http://wordpress.org/extend/plugins/query-wrangler/

  2. bett66
    Member
    Posted 11 months ago #

    Same occur when check "Rewrite the output of this field", add custom code in the textarea and after click "Save". The query reset to default and lost all settings.

    It's HTML allowed in the "Rewritre" textarea?

    WP 3.6

    Thanks for you excelent plugin!!

  3. Jonathan Daggerhart
    Member
    Plugin Author

    Posted 8 months ago #

    This was tough to find, but it came down to bad unserialization. The querys were being saved correctly, but when loaded back into the editor, they were not unserialized from the database.

    I believe I have it fixed in the newest release 1.5rc13, please let me know if it does not resolve the issue.

  4. sjones23
    Member
    Posted 4 months ago #

    First off, I have to agree with linkswanson above. Typically I would prefer Drupal over WordPress as it's what I'm most familiar with. This plugin is probably one of the most fantastic plugins I've found for WordPress and the layout is pretty perfect for Drupal devs.

    My issue:
    I'm having a similar issue as the gentlemen above also had. I'm setting attached images to only show the Featured Image for my custom post type and it's pulling it in fine. The problem is that although I can save the thumbnail style as any of my current styles declared in functions.php, it doesn't actually seem to be saving that option and just reverts back to the generic "Thumbnail" style.

    Amended issue:
    If the last thing I do to the query/view is set the attached image style then despite what it says in the query edit interface, it shows the proper style. If I make any other changes after that though it resets the style choice both in the interface as well as in my templates. Hope this helps track it. Thanks again!

    Any ideas?

    Thanks and keep up the great work!

  5. Jonathan Daggerhart
    Member
    Plugin Author

    Posted 4 months ago #

    Image styles corrected in 1.5rc21.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.