Skip to content

Handle Select fieldtype in product filters#323

Open
SamuelHelbling wants to merge 1 commit into
frappe:developfrom
SamuelHelbling:patch-1
Open

Handle Select fieldtype in product filters#323
SamuelHelbling wants to merge 1 commit into
frappe:developfrom
SamuelHelbling:patch-1

Conversation

@SamuelHelbling
Copy link
Copy Markdown

@SamuelHelbling SamuelHelbling commented Jul 4, 2025

Currently, it is only possible to use fields of type Link or Multiselect as filters for article groups. With this pr, it is now also possible to use fields of type Select as filters. The values displayed are the defined options of the field. This also works for custom fields. The change in the code is minimal, but the benefit for the user is big. The following issues have been fixed:

Before:
Bildschirmfoto 2025-07-04 um 12 16 31

After:
Bildschirmfoto 2025-07-04 um 12 04 25

Setup:

  1. Create a new custom Select field for the website item doctype with options or use an existing Select field:
    Bildschirmfoto 2025-07-04 um 12 07 24

  2. Define the Select field as an item filter in the website group:
    Bildschirmfoto 2025-07-04 um 12 05 14

@SamuelHelbling
Copy link
Copy Markdown
Author

@rohitwaghchaure backport v-15

@SamuelHelbling
Copy link
Copy Markdown
Author

Hi @rohitwaghchaure , just following up on this PR, it’s ready whenever you have a chance to review or merge. Let me know if any changes are needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant