patzly / grocy-android

ERP beyond your fridge, now on your phone – An awesome companion app for grocy
https://patrickzedler.com/grocy/
GNU General Public License v3.0
842 stars 80 forks source link

[3.3.1] [bug] Product overview does not display best-before-date correctly #767

Open stheid opened 10 months ago

stheid commented 10 months ago

image

As visible in the screenshot, the best-before-date, however only if i also sort by the best before date.

If i remove the sorting, but keep show field>next best-before-date enabled, the badge disappears.

stheid commented 10 months ago

This might even be intended behavoiur (even though i still find it confusing and would request a change)

When the product is within the expiry period of 5 days, the badge is displayed correctly and highlighted in yellow

perhaps a better change would be to modify the show-field filter:

currently:

change:

patzly commented 10 months ago

I just reproduced what you mean for my own instance. You're right, that's intentional but the filters could be improved as you said.