Skip to content

Conversation

@sakshamarora1
Copy link
Contributor

@sakshamarora1 sakshamarora1 commented Nov 19, 2024

closes: #213

@sakshamarora1 sakshamarora1 force-pushed the feature/legacy_redirect_collections branch 2 times, most recently from 2a8d5f0 to 1c16a2d Compare November 19, 2024 10:50
@sakshamarora1 sakshamarora1 force-pushed the feature/legacy_redirect_collections branch from 1c16a2d to 1c7ed8e Compare November 22, 2024 15:54
@sakshamarora1
Copy link
Contributor Author

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)
cc @zzacharo

@zzacharo
Copy link
Contributor

@sakshamarora1 can you update the pipfile with the released https://github.com/inveniosoftware/invenio-app-rdm/releases/tag/v13.0.0b1.dev19 ?

@sakshamarora1 sakshamarora1 force-pushed the feature/legacy_redirect_collections branch 2 times, most recently from 131ca89 to 57614cb Compare November 26, 2024 14:04
Copy link
Contributor

@zzacharo zzacharo left a 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.

@sakshamarora1 sakshamarora1 force-pushed the feature/legacy_redirect_collections branch from 57614cb to 82d1494 Compare November 26, 2024 16:58
"""
# 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
Copy link
Contributor

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?

@sakshamarora1 sakshamarora1 force-pushed the feature/legacy_redirect_collections branch from 82d1494 to fe8cad2 Compare November 27, 2024 15:58
@sakshamarora1 sakshamarora1 force-pushed the feature/legacy_redirect_collections branch from fe8cad2 to 0891117 Compare November 27, 2024 15:59
@zzacharo zzacharo merged commit 3571c46 into CERNDocumentServer:master Nov 28, 2024
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.

URL redirection

4 participants