Is there a way to have a default search in OE2? Having it empty by default is not very useful, but having it show all most-recent is slow. I’d love to be able to show today’s studies only.
- open OE2 and bookmark the page
- edit the bookmark and replace the url by the following JS:
javascript:(function() { var currentDate = new Date(); var formattedDate = currentDate.toISOString().slice(0, 10).replace(/-/g, ''); var url = "http://localhost:8042/ui/app/#/filtered-studies?StudyDate="%20+%20formattedDate;%20%20%20%20%20window.open(url,%20'_blank');%20})();
1 Like