/works/OL1W?edition=* should redirect to new Work if edition has moved
Evidence / Screenshot (if possible)
Relevant url?
eg https://openlibrary.org/works/OL17495436W?edition=ia%3Aherfirefighterun0000unse Should redirect to https://openlibrary.org/works/OL33218807W/Her_Firefighter_Under_The_Mistletoe_Snowbound_with_Dr._Delectable?edition=herfirefighterun0000unse?edition=ia%3Aherfirefighterun0000unse
Steps to Reproduce
- Go to https://openlibrary.org/works/OL17495436W?edition=ia%3Aherfirefighterun0000unse
- Actual: Page pretends the editions is associated with this work
- Expected: Redirected to correct work
Details
- Logged in (Y/N)? N
- Browser type/version? FF108
- Operating system? Win10
- Environment (prod/dev/local)? prod
Proposal & Constraints
Related files
Stakeholders
@seabelis
Hello! Is this ticket still available and can I help?
@cdrini Hi! I am Tushar, a first-year student at BITS Hyderabad, India. I am interested in working on this issue, however, could you please elaborate a bit on the issue?
@tushdemort @smherda Hi, are you guys still looking to work on this issue?
@cdrini I'd like to work on this issue, any pointers?
@JaydenTeoh Hello! I didn't get any feedback on this, so the ticket is still open. Feel free to work on it.
Hi @mekarpeles, I can start working on this, if you can assign the issue. Any pointers would be appreciated as well!
Hello! @cdrini, @mekarpeles
I am trying to resolve this issue.
But I needed some clarifications:
- Does every "work" have a unique "Internet Archive" number?
- Why https://openlibrary.org/works/OL17495436W?edition=ia%3Aherfirefighterun0000unse Should redirect to https://openlibrary.org/works/OL33218807W/Her_Firefighter_Under_The_Mistletoe_Snowbound_with_Dr._Delectable?edition=herfirefighterun0000unse?edition=ia%3Aherfirefighterun0000unse ? Why can't https://openlibrary.org/works/OL17495436W?edition=ia%3Aherfirefighterun0000unse redirect to https://openlibrary.org/works/OL17495436W ?
- Can "internet archive" number(or "edition", I am asssuming) for a "work" be changed?
I know I can answer these questions by looking at the code. But please help me a little.
Hello! @cdrini, @mekarpeles
I am trying to resolve this issue.
But I needed some clarifications:
1. Does every "work" have a unique "Internet Archive" number? 2. Why [https://openlibrary.org/works/OL17495436W?edition=ia%3Aherfirefighterun0000unse](url) Should redirect to [https://openlibrary.org/works/OL33218807W/Her_Firefighter_Under_The_Mistletoe_Snowbound_with_Dr._Delectable?edition=herfirefighterun0000unse?edition=ia%3Aherfirefighterun0000unse](url) ? Why can't [https://openlibrary.org/works/OL17495436W?edition=ia%3Aherfirefighterun0000unse](url) redirect to [https://openlibrary.org/works/OL17495436W](url) ? 3. Can "internet archive" number(or "edition", I am asssuming) for a "work" be changed?I know I can answer these questions by looking at the code. But please help me a little.
To answer question 2, the specific edition of the book is a two in one book with an extra story by Susan Carlisle. They are qualitatively different books. That book is unique and the search results should reflect that.
I'm personally still trying to wrap my head around the code base but I think changing whatever SQL statement handles the generation of editions to include a like clause the would filter out the single story version of the book could help.
Again I'm still trying to figure out how the ORM and MVC pattern for this site works, so If I'm off base I apologize
Questioning to see if I could work on this?