Skip to content
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

"selectedSegment" is not passed on to backend #164

Open
sebastian-nehrdich opened this issue Jun 27, 2024 · 1 comment
Open

"selectedSegment" is not passed on to backend #164

sebastian-nehrdich opened this issue Jun 27, 2024 · 1 comment
Assignees

Comments

@sebastian-nehrdich
Copy link

How to reproduce: Call website with this url: https://buddhanexus2.kc-tbts.uni-hamburg.de/db/pli/an10/text?selectedSegment=an10%3A28.1.1&selectedSegmentIndex=0
Expected behavior: selectedSegment=an10%3A28.1.1 should get passed on to the backend as parameter "active_segment", but this is not happening at the moment, only 'none' is transmitted. Additionally, the frontend has to scroll the viewport to the active segment as the response only returns the page where the active segment can occur

@sebastian-nehrdich
Copy link
Author

I have an update on this problem: It seems that the passing on is working ok when the result is on the first page/the text only has one page, like here: https://buddhanexus2.kc-tbts.uni-hamburg.de/db/skt/T06sthtvbhu/text?selectedSegment=T06sthtvbhu%3A19&selectedSegmentIndex=0
But it fails when we are on a different page: https://buddhanexus2.kc-tbts.uni-hamburg.de/en/db/skt/GSP33bhgsbh_u/text?selectedSegment=GSP33bhgsbh_u%3A4039&selectedSegmentIndex=0

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

No branches or pull requests

3 participants