Skip to content

add doc id for bookmark event #3693

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

add doc id for bookmark event #3693

wants to merge 1 commit into from

Conversation

dnoneill
Copy link
Contributor

The bookmark page currently doesn't up and remove bookmarks if they are deselected on the page. I think this would be a good update to blacklight and it is something Stanford wants now. I plan to bring this up during a call but for now this is the building block of making that functionality work.

@@ -6,7 +6,8 @@
data: {
present: t('blacklight.search.bookmarks.present'),
absent: t('blacklight.search.bookmarks.absent'),
inprogress: t('blacklight.search.bookmarks.inprogress')
inprogress: t('blacklight.search.bookmarks.inprogress'),
doc_id: @document.id
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but let's go with document_id as that's what's more commonly used throughout the codebase.

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.

2 participants