-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add accessType to search pages #1555
base: main
Are you sure you want to change the base?
Conversation
/> | ||
), | ||
value: t( | ||
`reservationUnit:accessTypes.${reservationUnit.currentAccessType}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be null?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't be possible to my knowledge, as all reservation units have an accessType
(which currentAccessType
defaults to, if it's not specified separately)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
about to change
/> | ||
), | ||
value: t( | ||
`reservationUnit:accessTypes.${reservationUnit.currentAccessType}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be null
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above: shouldn't be possible to my knowledge, as all reservation units have an accessType (which currentAccessType defaults to, if it's not specified separately)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this changes in the new backend
- remove unnecessary helper functions from modules/search - replace remaining instances of removed query param helper functions with toNumber and/or ignoreMaybeArray
9ec3ff7
to
6b6ad63
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes coming to backend so marking this
/> | ||
), | ||
value: t( | ||
`reservationUnit:accessTypes.${reservationUnit.currentAccessType}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
about to change
🛠️ Changelog
accessType
to both search pages. Both to the form/filters, and the search result reservation cards🧪 Test plan
accessType
, and that it works (most/all reservation units use the "Suora pääsy" option for now)🚧 Dependencies
🎫 Tickets