mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-23 20:16:40 +00:00
get_item_codes_by_attributes compared Item Variant Attribute `attribute`/`attribute_value` with raw equality/IN, which is case-sensitive on Postgres -- a differently-cased website filter value missed variants that MariaDB (case-insensitive collation) matches. Lower() both sides: MariaDB result is unchanged (already case-insensitive), Postgres now matches too. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Common utilities / DocTypes.