* fixed potential to update incorrect record if incomplete updates performed in 2 browser tabs. Fix invloves comparing expected request id with session-stored request id * new patient_case_edit.t test to test for above scenario - exempted test harness from stderr output * fixed genomics.t - required adapting lab tests to new schema (rare disease + cancer) * placed trend analysis charts inside bootstrap accordion blocks for more compact presentation
for UCLH: arranged sort order of previous records by registration date then lab number - done by Perl sort function as RDBO forces t1.id 1st if using DATE(requests.created_at) in sort options
added function to make request_number unique (ignores year); changed date format to Y-m-d for datetimepicker; TODO: some tests broken by recent admin lab-test changes
tied auto-unlocking to new [dr]na test requests in storage module; modified RfC to send email confirmation to sender; some new files for in-progress migration of additional_tests.yml to admin panel + db table
bugfix - previous requests in screen, report, etc skipped any non-reported requests - fixed by making authorised_reports table a left join; fixed inability to delete trial & trial number in request edit - loads frozen data trial.id in absence of form input trial.id; 3411 tests pass
moved part_number from optional to required for storage input validation; added multi_many_ok to search_requests_count() eg for specimen & request_summary searches - both 1-to-many fields