Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only show those tags that correspond with filtered posts. #580

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

facundobatista
Copy link
Member

For this I stopped using tags (populated by the library) and started to use usefultags, populated in the view considering only those active offers (if the "active" checkbox is selected), or re-using tags if the user actually wants to see all the offers.

While doing this I noticed that the "active" boolness was inverted everywhere, fixed that.

Also included DISCOURSE_HOST in the development settings (a test was failing).

@facundobatista facundobatista enabled auto-merge (squash) August 25, 2023 13:12
Copy link
Collaborator

@sofide sofide left a comment

Choose a reason for hiding this comment

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

Dejo mi approve moral (no puedo dar el approve real porque no tengo permisos en el repo)

@@ -17,3 +17,5 @@

# BASE_URL to use in any notification that might require them
BASE_URL = os.environ.get('BASE_URL', 'http://localhost:8000')

DISCOURSE_HOST = "testdiscourse.com"
Copy link
Collaborator

Choose a reason for hiding this comment

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

esto no parece ser referenciado en ninguna otra parte del código, puede ser?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sí, en joboffers/publishers/discourse/__init__.py

Copy link
Collaborator

@galloramiro galloramiro left a comment

Choose a reason for hiding this comment

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

LGTM

@facundobatista facundobatista merged commit 5f88d1e into master Aug 29, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants