Skip to content

[19.0][FIX] website_event_filter_city: fix visible item count with city filters. - #545

Merged
OCA-git-bot merged 1 commit into
OCA:19.0from
Tecnativa:19.0-fix-website_event_filter_city
Aug 25, 2026
Merged

[19.0][FIX] website_event_filter_city: fix visible item count with city filters.#545
OCA-git-bot merged 1 commit into
OCA:19.0from
Tecnativa:19.0-fix-website_event_filter_city

Conversation

@adasatorres-tecnativa

Copy link
Copy Markdown

@Tecnativa TT64025
@pilarvargas-tecnativa @pedrobaeza.

Ensure the city filter takes all other active filters into account when calculating visible events.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @pilarvargas-tecnativa,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot OCA-git-bot added series:19.0 mod:website_event_filter_city Module website_event_filter_city labels Aug 18, 2026
@pedrobaeza pedrobaeza changed the title [FIX] website_event_filter_city: fix visible item count with city filters. [19.0][FIX] website_event_filter_city: fix visible item count with city filters. Aug 18, 2026
@pedrobaeza pedrobaeza added this to the 19.0 milestone Aug 18, 2026
@adasatorres-tecnativa
adasatorres-tecnativa force-pushed the 19.0-fix-website_event_filter_city branch from efc134a to 55759fb Compare August 18, 2026 10:41
@adasatorres-tecnativa

Copy link
Copy Markdown
Author

@pilarvargas-tecnativa, Right now, the city filter should work the same way as the country filter, taking into account that the country filter is affected by the other filters, as well as by the city filter.

@dcanete-pyming dcanete-pyming left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Functional review:

  • Verified that selecting a city updates the available countries.
  • Verified that selecting a country updates the available cities.
  • Verified that text search updates both city and country filters.
  • Verified that clearing the filters restores all available options.
  • Confirmed that incompatible events are not displayed.

The functional behavior works as expected.

Comment thread website_event_filter_city/controllers/main.py Outdated
@adasatorres-tecnativa
adasatorres-tecnativa force-pushed the 19.0-fix-website_event_filter_city branch from 55759fb to 7616880 Compare August 19, 2026 07:52

@pilarvargas-tecnativa pilarvargas-tecnativa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@carlos-lopez-tecnativa carlos-lopez-tecnativa left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

Comment thread website_event_filter_city/controllers/main.py Outdated
@adasatorres-tecnativa

Copy link
Copy Markdown
Author

ping @pedrobaeza

@adasatorres-tecnativa
adasatorres-tecnativa force-pushed the 19.0-fix-website_event_filter_city branch from 9ae9bce to a5d26ca Compare August 25, 2026 09:38
@pedrobaeza
pedrobaeza force-pushed the 19.0-fix-website_event_filter_city branch from a5d26ca to 97e8985 Compare August 25, 2026 09:59

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 19.0-ocabot-merge-pr-545-by-pedrobaeza-bump-patch, awaiting test results.

@adasatorres-tecnativa
adasatorres-tecnativa force-pushed the 19.0-fix-website_event_filter_city branch from 97e8985 to 27c0038 Compare August 25, 2026 10:03
@pedrobaeza
pedrobaeza force-pushed the 19.0-fix-website_event_filter_city branch from 27c0038 to 97e8985 Compare August 25, 2026 10:05
@adasatorres-tecnativa
adasatorres-tecnativa force-pushed the 19.0-fix-website_event_filter_city branch from 97e8985 to f592141 Compare August 25, 2026 10:05
@pedrobaeza

Copy link
Copy Markdown
Member

@adasatorres-tecnativa I already pushed the correct version. It was with slug_tags, as the original signature included it. I was confused as at the beginning, it wasn't.

@pedrobaeza
pedrobaeza force-pushed the 19.0-fix-website_event_filter_city branch from f592141 to 97e8985 Compare August 25, 2026 10:06
@OCA-git-bot
OCA-git-bot merged commit 58a1218 into OCA:19.0 Aug 25, 2026
9 of 13 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at d7730b8. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza
pedrobaeza deleted the 19.0-fix-website_event_filter_city branch August 25, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants