---
id: change/bcapps/9631
type: change
title: '#9631  [Main]- "Filter by Attribute" action does not apply the filter under specific circumstances'
summary: The 'Filter by Attribute' action on the Item List page now preserves user-applied filters instead of replacing them, fixing cases where filters were incorrectly lost during attribute filtering.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page item list
system: inventory
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:11:35.407Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 2c9f2557b2cdb7565cf53e0dd03b5fca7598b35e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9631
    title: 'microsoft/BCApps#9631:  [Main]- "Filter by Attribute" action does not apply the filter under specific circumstances'
    date: "2026-07-23"
    commit: 2c9f2557b2cdb7565cf53e0dd03b5fca7598b35e
    t: null
    quote: Filter by Attributes action to always use the temp-record filtering flow and removed the reset of the page record context
links:
  learn: []
  objects:
    - object/page/31
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9631
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9631
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-23T12:40:51Z"
author: DeepsShukla
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 7
  additions: 63
  deletions: 24
  al: 6
apps:
  - Base Application
objects_touched:
  - key: page/31
    page: page/31
    type: page
    id: 31
    name: Item List
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/APAC/BaseApp/Inventory/Item/ItemList.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/GB/BaseApp/Inventory/Item/ItemList.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/IT/BaseApp/Inventory/Item/ItemList.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NA/BaseApp/Inventory/Item/ItemList.Page.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/RU/BaseApp/Inventory/Item/ItemList.Page.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 640470
systems:
  - inventory
quote: Filter by Attributes action to always use the temp-record filtering flow and removed the reset of the page record context
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #9631  [Main]- "Filter by Attribute" action does not apply the filter under specific circumstances

> The 'Filter by Attribute' action on the Item List page now preserves user-applied filters instead of replacing them, fixing cases where filters were incorrectly lost during attribute filtering.

[Pull request](https://github.com/microsoft/BCApps/pull/9631) · merged into `main` (BC30) on 2026-07-23 by DeepsShukla · 7 files (+63 -24), 6 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Attribute filtering now uses a temporary record filtering flow consistently
- User-applied filters (like Vendor No. conditions) are preserved and combined with attribute results
- Page record context is no longer reset during attribute filtering
- The fix applies across all regional versions of the Item List page
- Added test coverage for attribute filtering scenarios
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 31 "Item List"](../../objects/page/31.md), Base Application: modified
- `src/Layers/APAC/BaseApp/Inventory/Item/ItemList.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/GB/BaseApp/Inventory/Item/ItemList.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/IT/BaseApp/Inventory/Item/ItemList.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/NA/BaseApp/Inventory/Item/ItemList.Page.al`: modified, not in the BC30 snapshot
- `src/Layers/RU/BaseApp/Inventory/Item/ItemList.Page.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#640470
- Labels: Team: SCM
- Systems: inventory
- From the description: "Filter by Attributes action to always use the temp-record filtering flow and removed the reset of the page record context"

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
