Git Product home page Git Product logo

Comments (4)

kamil4 avatar kamil4 commented on July 17, 2024 1

I'll fix it in the frontend.

from lychee-front.

kamil4 avatar kamil4 commented on July 17, 2024

I can't reproduce this with albums, because for albums the URL I see is simply #<actual album ID> (as expected). Hitting a reload will result in the fake search parent ID being lost, but I don't think there's any way to fix that, since we don't embed the parent ID in the URL.

I can definitely reproduce this for photos though. I'll see what I can do about fixing that. In principle we do reload search results when coming back from an album, so there's code to do that in at least one place, but I guess not everywhere that it's needed...

from lychee-front.

qwerty287 avatar qwerty287 commented on July 17, 2024

I can reproduce it, but it only affects photos opened from the search. Albums are redirected their actual URL as @kamil4 said.

The reason: it tries to get the album with the ID search/<search term> which is not correct of course. The "router" shouldn't interpret it as album ID (all IDs have the exact same length, right? We could use this for checking).

from lychee-front.

ildyria avatar ildyria commented on July 17, 2024

Fixed.

from lychee-front.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.