Table filters not remembering last selected value

  • 1
  • Problem
  • Updated 3 years ago
  • Solved
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: Fixed in Brooklyn

It doesn't seem to make a difference what I set the page's personalization settings to.

Here are my model's conditions:

<conditions logic="(1 OR (2 AND 3) OR (5 AND 6)) AND 4 AND 7 AND 8 AND 9 AND 10 AND 11 AND 12">         <condition type="fieldvalue" value="Follow-up" field="Interaction_Category__c" operator="=" state="" enclosevalueinquotes="true"/>
        <condition type="fieldvalue" value="Scheduling" enclosevalueinquotes="true" field="Interaction_Category__c"/>
        <condition type="fieldvalue" value="No show follow-up" field="Interaction_Purpose__c" state="" inactive="false" operator="=" enclosevalueinquotes="true"/>
        <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Interaction_Purpose__c" state="filterableoff" inactive="true" name="Purpose"/>
        <condition type="fieldvalue" value="Referral" enclosevalueinquotes="true" field="Interaction_Category__c"/>
        <condition type="fieldvalue" value="Scheduled" enclosevalueinquotes="true" field="Status__c"/>
        <condition type="fieldvalue" value="Referral" enclosevalueinquotes="true" field="Interaction_Category__c" state="filterableoff" inactive="true" name="CategoryReferral"/>
        <condition type="multiple" value="" field="Status__c" state="filterableon" inactive="false" name="Status__c" operator="in" enclosevalueinquotes="true">
          <values>
            <value>Scheduled</value>
          </values>
        </condition>
        <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Date__c" state="filterableoff" inactive="true" name="StartDate" operator="gte"/>
        <condition type="fieldvalue" value="" enclosevalueinquotes="false" field="Date__c" operator="lte" state="filterableoff" inactive="true" name="EndDate"/>
        <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Interaction_Type__c" state="filterableoff" inactive="true" name="Type"/>
        <condition type="param" value="caseid" field="Patient_Case__c" operator="=" enclosevalueinquotes="true" novaluebehavior="deactivate"/>
      </conditions>

And here are my table's filters:
<filters>
        <filter type="daterange" filteroffoptionlabel="New Filter" createfilteroffoption="true" affectcookies="true" autocompthreshold="25" conditionsource="manual" conditionfield="Date__c" startcondition="StartDate" condition="Start__c" labelmode="no" endcondition="EndDate"/>
        <filter type="select" filteroffoptionlabel="Any Purpose" createfilteroffoption="true" affectcookies="true" autocompthreshold="25" conditionsource="manual" label="All Scheduling Purposes" conditionfield="Interaction_Purpose__c" condition="Purpose" labelmode="no">
          <sources>
            <source type="manual" effectsbehavior="justdefault">
              <options>
                <option label="Certified Letters" type="complex">
                  <effects>
                    <effect action="deactivate" value="" condition="Purpose"/>
                    <effect action="set" value="Certified Letter" condition="Type"/>
                  </effects>
                </option>
                <option label="No Show" type="simple" value="No show follow-up"/>
                <option label="Immediate" type="simple" value="Immediate follow-up"/>
                <option label="Negative Pregnancy Test" type="simple" value="Negative test follow-up"/>
                <option label="2 Week" type="simple" value="2 week follow-up"/>
                <option label="4 Week" type="simple" value="4 week follow-up"/>
                <option label="8 Week" type="simple" value="8 week follow-up"/>
                <option label="16 Week" type="simple" value="16 week follow-up"/>
                <option label="After Due Date" type="simple" value="After due-date follow-up"/>
                <option label="Chart Closing" type="simple" value="Chart closing"/>
                <option label="Referral" type="complex">
                  <effects>
                    <effect action="activate" value="" condition="CategoryReferral"/>
                    <effect action="deactivate" value="" condition="Purpose"/>
                  </effects>
                </option>
                <option label="Other" type="simple" value="Other"/>
              </options>
            </source>
          </sources>
        </filter>
        <filter type="select" filteroffoptionlabel="Any Status" createfilteroffoption="false" affectcookies="true" autocompthreshold="25" label="Scheduled" condition="Status__c" conditionsource="manual" conditionfield="Status__c" labelmode="no">
          <sources>
            <source type="manual" effectsbehavior="justdefault">
              <options>
                <option label="Any Status" type="complex">
                  <effects>
                    <effect action="deactivate" value="" condition="Status__c"/>
                  </effects>
                </option>
                <option label="Scheduled" type="simple" value="Scheduled"/>
                <option label="All Complete" type="simple" value="Complete;Successful;Left message;Unsuccessful;Hung-up;Sent"/>
                <option label="Successful" type="simple" value="Complete;Successful;Sent"/>
                <option label="Unsuccessful" type="simple" value="Unsuccessful;Left message;Hung-up"/>
                <option label="Cancelled" type="simple" value="Cancelled"/>
              </options>
            </source>
          </sources>
        </filter>
      </filters>

All three filters are set to remember, but they do not.
Photo of Matt Sones

Matt Sones, Champion

  • 32,106 Points 20k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,990 Points 5k badge 2x thumb
Matt~

A few clarifying questions. Under what conditions are the filters not remembering the last selected value? All the time or after changes are made and saved to the page? What version of Skuid are you seeing this in? When did you first start noticing this happen? Do you have any JS or CSS snippets on the page that may be overriding the affectcookies="true"?

Thanks!
Karen
Photo of Matt Sones

Matt Sones, Champion

  • 32,106 Points 20k badge 2x thumb
1. All the time.
2. 8.10
3. I first noticed in 8.8, but it may have been before that.
4. No.
Photo of Mike Dwyer

Mike Dwyer, Champion

  • 4,736 Points 4k badge 2x thumb
I just noticed this in Rockaway with a new use-case filter updated on an existing page undergoing heavy development. The page does contain js and css snippets but they are not explicitly affecting affectcookies. Personalization on the page is server-side.
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,990 Points 5k badge 2x thumb
Mike~

Is the page getting modified and saved and then the filters are not remembering the last selected value or is it happening all the time? 

Thanks!
Karen
Photo of Mike Dwyer

Mike Dwyer, Champion

  • 4,736 Points 4k badge 2x thumb
The page is getting modified frequently. I test the page multiple times after each change, and the last selected value is never remembered. I think that is what you mean by "all the time." In other words, the remembering has never worked since the filter was created. (I'm trying to understand what your question is getting at: does the option work until the page is updated and then it 'breaks,' but maybe it goes back to working after some iterations? No, it doesn't act like a temporary failure.)
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,990 Points 5k badge 2x thumb
Matt~

This may be an obvious question but does you have anything in your browser that could be blocking cookies, ie. security setting set to not allow cookies or is you are incognito? If not, want to send over credentials so we can have a look?

Thanks!
Karen
Photo of Matt Sones

Matt Sones, Champion

  • 32,106 Points 20k badge 2x thumb
Karen,

Good question. Seems to be happening for all users across multiple browsers, so I do not think it's a browser-cookie issue.

I'll send an email with the details for this one. Thanks.
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,990 Points 5k badge 2x thumb
Matt~

Looks like you've found a bug! Our developers have been notified of this. We'll let you know when a fix is in a future release. 

Thanks for bringing this to our attention!
Karen
Photo of Matt Sones

Matt Sones, Champion

  • 32,106 Points 20k badge 2x thumb
Thanks, Karen, et al.
Photo of Ryan Denis

Ryan Denis

  • 542 Points 500 badge 2x thumb
I seem to be having this issue as well. Any update? Both on client side & server side. 
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,990 Points 5k badge 2x thumb
Ryan~

Not yet. We will update this post when a release is available that has a fix for this. 

Stay tuned!
Karen
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,990 Points 5k badge 2x thumb

Hi Matt~

This issue has been resolved in the Brooklyn GA release which is now available from the Skuid Releases page.

As a reminder, Salesforce does NOT allow reverting back to prior versions of managed packages. Skuid always recommends installing new versions in a non-business critical sandbox environment to test all mission critical functionality before installing into a production environment. We also recommend that you update out of date themes when you upgrade.

Thanks!

Karen

This conversation is no longer open for comments or replies.