Closed TDCroPower closed 2 years ago
I'm not sure I see a problem?
I have restructured my description a bit to make it easier to read. The problem is that it should actually display all underlying objects on the Brand filter.
In Test 1 with "SHOW_ONLY_SERIES=sonyps5c,sonyps5de" is successfully filtered on "selected series: sonyps5c, sonyps5de".
In Test 2 with "SHOW_ONLY_BRAND=Sony" only "sonyps5c, sonyps5de" should be displayed for "selected series", but all available "series" are displayed.
Oh jeez, yeah, this isn't great. Let me see if I can reproduce. If so, then I'll get a fix in. Thanks for pointing this out!
Perfect. You can easily implement and test the reproduction with the upper 2 variables.
Looks like this doesn't actually impact functionality; this is just a display issue.
We still filter to only the Sony brand items (the two PS5 consoles) when actually loading pages; we just don't visually filter the series list by brand
This can probably be triaged down to lowpri
@neatchee thanks you are right, it is only a display issue...
`STREETMERCHANT 3.3.0
[18:06:51] info :: ℹ selected stores: amazon-de, amazon-de-warehouse, amazon-es, amazon-fr, amazon-nl, amazon-uk, cyberport, elcorteingles, euronics-de, mediamarkt, otto, proshop-de, saturn, spielegrotte [18:06:51] info :: ℹ selected brands: sony [18:06:51] info :: ℹ selected series: 3060ti, 3070, 3080, 3090, rx6800, rx6800xt, rx6900xt, ryzen5600, ryzen5800, ryzen5900, ryzen5950, sonyps5c, sonyps5de, xboxss, xboxsx [18:07:01] info :: ✖ [elcorteingles] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [18:07:03] info :: ✖ [amazon-de-warehouse] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [18:07:05] info :: ✖ [spielegrotte] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [18:07:07] info :: ✖ [spielegrotte] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [18:07:08] info :: ✖ [amazon-de-warehouse] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [18:07:08] info :: ✖ [otto] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [18:07:09] info :: ✖ [saturn] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [18:07:09] info :: ✖ [euronics-de] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [18:07:10] info :: ✖ [elcorteingles] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [18:07:13] info :: ✖ [otto] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [18:07:17] info :: ✖ [euronics-de] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [18:07:18] info :: ✖ [amazon-es] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [18:07:18] info :: ✖ [mediamarkt] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [18:07:19] info :: ✖ [amazon-uk] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [18:07:19] info :: ✖ [spielegrotte] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [18:07:19] info :: ✖ [amazon-de-warehouse] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [18:07:21] info :: ✖ [otto] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [18:07:21] info :: ✖ [spielegrotte] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [18:07:22] info :: ✖ [amazon-fr] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [18:07:23] info :: ✖ [amazon-de] [sony (sonyps5c)] ps5 console :: OUT OF STOCK [18:07:24] info :: ✖ [saturn] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [18:07:24] info :: ✖ [amazon-de-warehouse] [sony (sonyps5de)] ps5 digital :: OUT OF STOCK [18:07:25] info :: ✖ [elcorteingles] [sony (sonyps5c)] ps5 console :: OUT OF STOCK`
I think the behavior is correct and working as expected because the user did explicitly select those series. It would be more confusing if the selected series didn't show up because we made selected series a cascading filter from selected brands.
going to close. thanks all :)
Expected Behavior
Setting the variable SHOW_ONLY_BRANDS to "sony" should filter all series for the set Brand.
Current Behavior
If the SHOW_ONLY_BRANDS variable is set to "sony", all available series are still used.
Steps to Reproduce
Test 1:
Filter "series" -> WORKS
output...
Test 2:
Filter "brands" -> FAILED
output...
Environment
macOS Big Sur -> 11.0.1
Logs
see above!