Esri / solutions-components

A collection of UI components for constructing webapps.
Apache License 2.0
16 stars 7 forks source link

Filters set to be on by default are not being honored #982

Closed azizaparveen closed 3 weeks ago

azizaparveen commented 1 month ago

Describe the bug

Filters are configured to be on by default when the app is opened.

Upon opening the app the blue dot to indicate filters are on is not present and the records in the table are not filtered. image

When I click the Filters button it shows the filters are checked on but as I mentioned above the records are not filtered image

If I turn the filters off and then check them back on the records get filtered and the blue dot indicating filters are on is present on the Filter button.

Expected Behavior

When a filter is configured to be on by default when an app is opened, the expected behavior is:

Reproduction Steps & Sample

  1. In Devext, deploy the Lead Service Line Inventory solution
  2. Load data into the ServiceLine feature service
  3. ServiceLineSample.gdb.zip
  4. Go to the Lead Service Line Replacement Manager item page and click View
  5. Look at the Filters button at the top of the table and notice that the blue dot is not present.
  6. Look at the number of records at the bottom and notice there are 7227 (there should be 5785)
  7. Click the Filters button, the boxes are checked on for Needs Replacement, Scheduled Replacement, and Null (which is correct) but the records didn't filter.
  8. Uncheck and recheck the boxes and the records in the table do filter and the blue dot is present on the Filter button.

Other Relevant Info

Critical - emergency! needs patching Any solution using Filters on by default in the Manager app will be impacted.

azizaparveen commented 4 weeks ago

cc @sarahmcdonald7

sumitzarkar commented 4 weeks ago

@azizaparveen

Could you please check this with the instant-app team if any changes are required from our end to fix this?

azizaparveen commented 4 weeks ago

Original issue in solution dev repo: https://devtopia.esri.com/WebGIS/solutions-development-support/issues/321 Portal template issue: https://devtopia.esri.com/WebGIS/arcgis-portal-app-templates/issues/10956

azizaparveen commented 3 weeks ago

Devext test app: https://solutions.mapsdevext.arcgis.com/apps/instant/manager/index.html?appid=7a4fec6a30364359ac5355b45d7854f0, request layer has filter set up to be activated on load Qa test app: https://solutions.mapsdevext.arcgis.com/apps/instant/manager/index.html?appid=7a4fec6a30364359ac5355b45d7854f0, Corvallis Structure map -> Corvallis School has a filter set up to be activated on load

azizaparveen commented 3 weeks ago

This looks good in both qa and dev