diff OrthancExplorer/query-retrieve.js @ 3792:6dba4fa8a6cb

remove universal wildcard on StudyDate in OrthancExplorer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 26 Mar 2020 07:19:30 +0100
parents 4a8e8a96b233
children ce7709cb380e
line wrap: on
line diff
--- a/OrthancExplorer/query-retrieve.js	Wed Mar 25 18:44:17 2020 +0100
+++ b/OrthancExplorer/query-retrieve.js	Thu Mar 26 07:19:30 2020 +0100
@@ -38,7 +38,7 @@
 
   targetDate = $('#qr-date');
   $('option', targetDate).remove();
-  targetDate.append($('<option>').attr('value', '*').text('Any date'));
+  targetDate.append($('<option>').attr('value', '').text('Any date'));
   targetDate.append($('<option>').attr('value', GenerateDicomDate(0)).text('Today'));
   targetDate.append($('<option>').attr('value', GenerateDicomDate(-1)).text('Yesterday'));
   targetDate.append($('<option>').attr('value', GenerateDicomDate(-7) + '-').text('Last 7 days'));
@@ -90,7 +90,7 @@
       'PatientName' : '',
       'PatientSex' : '',
       'StudyDate' : $('#qr-date').val(),
-      'StudyDescription' : '*'
+      'StudyDescription' : ''
     }
   };
 
@@ -204,10 +204,10 @@
     query = {
       'Level' : 'Series',
       'Query' : {
-        'Modality' : '*',
-        'ProtocolName' : '*',
-        'SeriesDescription' : '*',
-        'SeriesInstanceUID' : '*',
+        'Modality' : '',
+        'ProtocolName' : '',
+        'SeriesDescription' : '',
+        'SeriesInstanceUID' : '',
         'StudyInstanceUID' : pageData.uuid
       }
     };