Changeset 5813
- Timestamp:
- Jan 22, 2020, 12:53:40 PM (4 years ago)
- Location:
- extensions/net.sf.basedb.reggie/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/sampleproc/partitionform.js
r5782 r5813 560 560 url += '&cmd=GetLabelFile'; 561 561 url += '&specimen='+ids.join(','); 562 url += '&includeHisLabels='+(Doc.element('includeHisLabels').checked ? 1 : 0); 562 563 url += '&includeAllHisLabels='+(Doc.element('includeAllHisLabels').checked ? 1 : 0); 563 564 url += '&format='+encodeURIComponent(format); -
extensions/net.sf.basedb.reggie/trunk/resources/sampleproc/partitionform.jsp
r5782 r5813 161 161 <td class="prompt">Download label file</td> 162 162 <td class="input"> 163 <label id="includeHisLabelsLbl"><input type="checkbox" name="includeHisLabels" checked 164 id="includeHisLabels">Include Histology labels</label><br> 163 165 <label id="includeAllHisLabelsLbl" style="display: none;"><input type="checkbox" name="includeAllHisLabels" 164 166 id="includeAllHisLabels">Include Histology labels for re-extraction</label> … … 168 170 <base:icon subclass="link" id="downloadLabelsXlsx" image="<%=home + "/images/download.png"%>" 169 171 data-format="xlsx" title="Download lables as an Excel worksheet file (xlsx)">Excel</base:icon> 172 </div> 170 173 </td> 171 174 <td class="status" id="downloadfile.status"></td> -
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/servlet/PartitionRegistrationServlet.java
r5791 r5813 94 94 String format = Values.getString(req.getParameter("format"), "csv"); 95 95 96 boolean includeHisLabels = Values.getBoolean(req.getParameter("includeHisLabels")); 96 97 boolean includeAllHisLabels = Values.getBoolean(req.getParameter("includeAllHisLabels")); 97 98 for (Integer specimenId : ids) … … 106 107 107 108 if (firstExtraction) firstPart.add(spName); 108 if (firstExtraction ||includeAllHisLabels)109 if (firstExtraction && includeHisLabels || !firstExtraction && includeAllHisLabels) 109 110 { 110 111 String hisName = sp.getNextHistologyName(dc);
Note: See TracChangeset
for help on using the changeset viewer.