Filters remain in place when returning to table view

Comments

11 comments

  • Avatar
    Bill Meyer

    Super old feature request, not sure if there is another one about this, but it is annoying to have to reapply filters, even if they are saved filter views when returning to the list after editing an item. I have preset filters by status. The view defaults to "Active" however we frequently are editing things in a "Waiting Invoice" status. And multiple at a time. When we filter, then go in to edit, then save and return to the list we have to reapply the filter.

     

    1
    Comment actions Permalink
  • Avatar
    Sam Carney

    Good request. TIP! The filter criteria is constructed in the URL. Press the browser back button to get back to filtered view.

    1
    Comment actions Permalink
  • Avatar
    Bill Meyer (Edited )

    yeah, thanks Sam. I have my forms to redirect to the parent page which doesn't remember the filter string. I did just test switching that to show a confirmation message and automatically reload the form. Then the browser back button does keep the filter URL query string. If we go back by using the breadcrumb nav we lose the it though. Will also have to test how that plays with the modal popups. Will talk to my team about which they prefer. Just a little detail...

    -1
    Comment actions Permalink
  • Avatar
    andrew steele

    Agreed - its a time consuming annoyance, as the filters are kept if you use the submit back button, but if you use 'return to parent page' which is the quickest and easiest option for users, then the filter is lost.  When a user spends all day, every day on table edits, this adds up to a lot of wasted time and keystrokes ... should be an easy fix Knack?

    Andrew - UK user and developer

    1
    Comment actions Permalink
  • Avatar
    Jake Preble

    This is the awkward work around I use.

    First I setup like: https://support.knack.com/hc/en-us/community/posts/220716748/comments/223483108

    my slightly different version is:

    1. Create connection between invoice and payment object ( one to many).

    2. Create invoice table with link to detail view / call link add payment

    3. In detail view show invoice details eg, customer, invoice No, amount due etc.

    4. Add payment form view below the detail view.

    5. Create form rule / Submit rule / (Here's where I differ) set to show confirmation message

        5a. set to confirmation to HTML and insert this code:

    <form>
    <input type="button" value="Go back!" onclick="history.back()">
    </form>

    6. Set page option as modal.

     

    this makes the confirmation message show a back button that takes you back to the table with filters in place AND updated data!

    3
    Comment actions Permalink
  • Avatar
    Roger Neal (Edited )

    Brilliant - thank you

    Works perfectly. 

    0
    Comment actions Permalink
  • Avatar
    Evan Hopkins

    Works Brilliant. We seriously need a cleaner fix for this however.

    0
    Comment actions Permalink
  • Avatar
    CHDI Support (Edited )

    Instead of displaying a weird back button (as described above) I added the following:

     

    on Form Rules -> Submit Rules -> select "Redirect to another website URL" and paste in:

    javascript:history.back()

    *now we accomplish the goal without the user having to click any new buttons! AND THE CROWD GOES WILD!

    0
    Comment actions Permalink
  • Avatar
    nicholas mihai

    Very elegant fix//thanks a lot !!

    0
    Comment actions Permalink
  • Avatar
    briyan kelly

    Thanks for sharing the valuable information.

     

    FE

    0
    Comment actions Permalink
  • Avatar
    Amelia Wren

    Torlock is the best champion deluge site contrasting with the other downpour locales. This site is easy to understand, checked, and dynamic downpour site.
    Torlock2

    0
    Comment actions Permalink

Please sign in to leave a comment.