You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* LIMS-1758: Fix slowness with plates with lots of subsamples (#941)
* LIMS-1758: Fix slowness with plates with lots of samples
* LIMS-1758: Remove unnecessary change
* LIMS-1758: Remove unnecessary whitespace
* LIMS-1758: Do large updates in chunks
* LIMS-1758: Use native JS
---------
Co-authored-by: Mark Williams <mark.williams@diamond.ac.uk>
* LIMS-1715: Clear sessionId from containers if a dewar transfer is requested (#939)
* LIMS-1715: Clear sessionId from containers if a dewar transfer is requested
* LIMS-1715: Clear sessionId from containers if a dewar transfer is requested
---------
Co-authored-by: Mark Williams <mark.williams@diamond.ac.uk>
* LIMS-1714: Populate Dewar.dewarRegistryId (#936)
Co-authored-by: Mark Williams <mark.williams@diamond.ac.uk>
* LIMS-1701: Make Xray Centring results an openable table (#935)
Co-authored-by: Mark Williams <mark.williams@diamond.ac.uk>
* LIMS-1642: Fix search when clicking x on search bars (#909)
Co-authored-by: Mark Williams <mark.williams@diamond.ac.uk>
* LIMS-1639: List most common screens at the top of the list (#928)
Co-authored-by: Mark Williams <mark.williams@diamond.ac.uk>
* LIMS-1777: Fix download of autoprocessing attachments on sm beamlines (#947)
Co-authored-by: Mark Williams <mark.williams@diamond.ac.uk>
---------
Co-authored-by: Mark Williams <mark.williams@diamond.ac.uk>
Copy file name to clipboardExpand all lines: api/src/Page/Imaging.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -866,11 +866,12 @@ function _get_screens()
866
866
array_push($args, $this->arg('scid'));
867
867
}
868
868
869
-
$screens = $this->db->pq("SELECT ct.name as containertypeid, IFNULL(ct.capacity, 96) as capacity, CONCAT(p.proposalcode, p.proposalnumber) as prop, s.global, s.name, s.screenid, s.proposalid, count(distinct sg.screencomponentgroupid) as groups, count(distinct sc.screencomponentid) as components
869
+
$screens = $this->db->pq("SELECT ct.name as containertypeid, IFNULL(ct.capacity, 96) as capacity, CONCAT(p.proposalcode, p.proposalnumber) as prop, s.global, s.name, s.screenid, s.proposalid, count(distinct sg.screencomponentgroupid) as groups, count(distinct sc.screencomponentid) as components, COUNT(DISTINCT c.containerid) AS cnt
870
870
FROM screen s
871
871
LEFT OUTER JOIN screencomponentgroup sg ON sg.screenid = s.screenid
872
872
LEFT OUTER JOIN screencomponent sc ON sc.screencomponentgroupid = sg.screencomponentgroupid
873
873
LEFT OUTER JOIN containertype ct ON ct.containertypeid = s.containertypeid
874
+
LEFT OUTER JOIN container c ON c.screenId = s.screenid
874
875
INNER JOIN proposal p ON p.proposalid = s.proposalid
875
876
WHERE $where
876
877
GROUP BY CONCAT(p.proposalcode, p.proposalnumber), s.global, s.name, s.screenid, s.proposalid", $args);
"INSERT INTO dewar (dewarid,code,trackingnumbertosynchrotron,trackingnumberfromsynchrotron,shippingid,bltimestamp,dewarstatus,firstexperimentid,facilitycode,weight,source)
1793
-
VALUES (s_dewar.nextval,:1,:2,:3,:4,CURRENT_TIMESTAMP,'opened',:5,:6,:7,IFNULL(:8,CURRENT_USER)) RETURNING dewarid INTO :id",
"INSERT INTO dewar (dewarid,code,trackingnumbertosynchrotron,trackingnumberfromsynchrotron,shippingid,bltimestamp,dewarstatus,firstexperimentid,facilitycode,dewarregistryid,weight,source)
1799
+
VALUES (s_dewar.nextval,:1,:2,:3,:4,CURRENT_TIMESTAMP,'opened',:5,:6,:7,:8,IFNULL(:9,CURRENT_USER)) RETURNING dewarid INTO :id",
0 commit comments