Skip to content

Commit

Permalink
Merge pull request #78 from harshkumar8789/BAH-457
Browse files Browse the repository at this point in the history
BAH-457 | Bug Fix, to show priority column.
  • Loading branch information
gokultw authored Feb 29, 2024
2 parents d00b304 + 079e587 commit 2596e9f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions liquibase/Bahmni/BahmniConfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1808,5 +1808,18 @@
<column name="lastupdated" valueDate=" now() "/>
</insert>
</changeSet>
<changeSet id="BAH4572802241425" context="bahmni" author="bahmni" >
<preConditions onFail="MARK_RAN">
<sqlCheck expectedResult="1">
select count(*) from clinlims.site_information where name = 'accessionStrategy' and value='';
</sqlCheck>
</preConditions>
<comment>set the accession strategy to groupbySample to show the priority column on ui</comment>
<sql >
UPDATE site_information
SET value = 'groupBySample'
WHERE name = 'accessionStrategy';
</sql>
</changeSet>
</databaseChangeLog>

Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ private Order getOrderWithPriority(ResultSet accessionResultSet, String comments
accessionResultSet.getBoolean("is_printed"),
accessionResultSet.getInt("pending_tests_count"),
accessionResultSet.getInt("pending_validation_count"),
accessionResultSet.getInt("referred_test_count"),
accessionResultSet.getInt("referred_tests_count"),
accessionResultSet.getInt("total_test_count"),
accessionResultSet.getDate("collection_date"),
accessionResultSet.getDate("entered_date"),
Expand Down

0 comments on commit 2596e9f

Please sign in to comment.