-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Modifying filters to case insensitive #11
Comments
Issue solved. function getFilter(filter) { |
5 tasks
JamesAPetts
added a commit
that referenced
this issue
Sep 10, 2020
Kinderspital-32: 4D CINE * Add 4D cine controls. * Prevent looping with next/previous CINE buttons. Approved-by: Erik Ziegler
pedrokohler
pushed a commit
to pedrokohler/ohif-viewers
that referenced
this issue
Nov 13, 2023
pedrokohler
pushed a commit
to pedrokohler/ohif-viewers
that referenced
this issue
Nov 13, 2023
debug cloud copy 2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to make the filters in the worklist case insensitive instead of case sensitive. My assumption was that there are three choices.
I chose for 2. However, I get a server error after adding the toUpperCase() method.
`/**
Transforms an input string into a search filter for
the Worklist Search call
*
@param filter The input string to be searched for
@returns {*}
*/
function getFilter(filter) {
if (filter && filter.length && filter.substr(filter.length - 1) !== '*') {
filter += ' * ' ;
}
return filter.toUpperCase();
}`
server log:
Router.route('/', function () { this.render('Home', { data: function () { return Items.findOne({_id: this.params._id}); } }); });
The text was updated successfully, but these errors were encountered: