-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: Adding Knowledge Panel for Last-edits #13
Conversation
Co-authored-by: Pierre Slamich <pierre.slamich@gmail.com>
Co-authored-by: Pierre Slamich <pierre.slamich@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are on the right path :-)
app/models.py
Outdated
if facet == "packaging": | ||
facet_plural = facet | ||
else: | ||
facet_plural = plural |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we handle differently for packaging ?
if facet == "packaging": | |
facet_plural = facet | |
else: | |
facet_plural = plural | |
facet_plural = plural | |
# special case for packaging ? | |
if facet == "packaging": | |
facet_plural = facet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because that how the search api takes it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little help with monkey patching :-)
Closing this issue started fresh pr #16 :) |
What
Fixes bug(s)