Skip to content

refactor(Stats): rename price stats per type (product & category)#772

Open
raphodn wants to merge 1 commit intomainfrom
raphodn/stats-price-per-type-count-2
Open

refactor(Stats): rename price stats per type (product & category)#772
raphodn wants to merge 1 commit intomainfrom
raphodn/stats-price-per-type-count-2

Conversation

@raphodn
Copy link
Member

@raphodn raphodn commented Mar 23, 2025

What

These 2 stats were created in #496.
Following a recent PR - #771 - we rename them to match the field name with the actual field value (and use the new querysets)

  • price_type_product_code_count > price_type_product_count
  • price_type_category_tag_count > price_type_category_count

price_count = models.PositiveIntegerField(default=0)
price_type_product_code_count = models.PositiveIntegerField(default=0)
price_type_category_tag_count = models.PositiveIntegerField(default=0)
price_type_product_count = models.PositiveIntegerField(default=0)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

impact on mobile/dart integration ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(will need a web frontend PR in any case)

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

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant