-
Notifications
You must be signed in to change notification settings - Fork 21
legacy: Add redirection for collections #261
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
legacy: Add redirection for collections #261
Conversation
2a8d5f0 to
1c16a2d
Compare
1c16a2d to
1c7ed8e
Compare
|
Tests will fail until inveniosoftware/invenio-app-rdm#2923 is deployed. Otherwise will need to revert last commit (use g.identity and duplicate error handlers) |
|
@sakshamarora1 can you update the pipfile with the released https://github.com/inveniosoftware/invenio-app-rdm/releases/tag/v13.0.0b1.dev19 ? |
131ca89 to
57614cb
Compare
zzacharo
left a comment
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 small comment about query params on collections but I am ok to create a separate issue for that.
57614cb to
82d1494
Compare
site/cds_rdm/legacy/redirector.py
Outdated
| """ | ||
| # Fetch current collection if it exists | ||
| collection_name = request.args.get("cc", None) | ||
| # If not, then fetch from collection list, URLs with only single 'c' will be redirected for now |
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.
can you make this comment more clear please?
82d1494 to
fe8cad2
Compare
fe8cad2 to
0891117
Compare
closes: #213