Support » Plugin: Improve My City » Status filtering / Status queries for taxonomy ‘imcstatus’ not working

  • Resolved flachzange

    (@flachzange)


    I already wrote and email but than I found this forum so I thought it would be better to have a potential answer available to everyone.

    WordPress Version: 4.9.6
    IMC Version: 1.4.1

    Problem: Status filtering in frontend and backend not working, i.e. whatever I select as status is not going to be filtered.

    I tried some debugging in imc-core-filter-func.php:

    /**
     * 13.04
     * Returns issues with given imcstatus
     *
     */
    
    function imcFilterIssuesByStatus($imported_sstatus, $include_pending){
    ...
    }

    and printed the query resulting from the args defined. But the resulting query is incomplete and misses the join with the taxonomy table. I first thought the imcstatus taxonomy is not registered properly but that seems not to be the case.

    As I am not a wordpress developer that is how far I could get here without digging any deeper into WP code.

    Any help is appreciated. Thank you.

    • This topic was modified 1 year, 3 months ago by  flachzange.
    • This topic was modified 1 year, 3 months ago by  flachzange.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Improve My City

    (@improvemycity)

    Hello,
    We cannot reproduce this issue.

    We have performed many fixes to the codebase, so there is a high probability that this is fixed in an upcoming update.

    Thanks.

    Thank you for your answer. Is this codebase somehow available? I cannot find it in the trunk of the svn repository. It would be great if you could push it to the trunk then.

    Thanks a lot.

    Plugin Author Improve My City

    (@improvemycity)

    It will be available when we push the new update in this week.

    I just noticed the latest version, thanks for that.

    Unfortunately the above described problem still exists for me on a plain WP 4.9.6 installation with only imc 1.4.2 installed. You can have a look here at my test site:

    https://mitmachen.adfc-velbert.de/test/

    Try then for status filtering. Whatever you select, all issues are shown. The same applies to the backend list.

    Any help is appreciated.

    Plugin Author Improve My City

    (@improvemycity)

    Hello,

    We have found the error and will release a patch inside this week.
    Thanks again.

    That sounds promising. If it is too much effort to release a new version right now, it would be great if you just send/name me the piece where the problem ist. I’ll fix it myself then.

    Thanks a lot.

    Problem solved with the latest update. Thanks a lot.

    Plugin Author Improve My City

    (@improvemycity)

    Great!

    Thanks for your help too!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Status filtering / Status queries for taxonomy ‘imcstatus’ not working’ is closed to new replies.