Skip to content

Commit

Permalink
assay-assayList.api: case-insensitive match on "name", "type"
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-nicka committed Nov 15, 2024
1 parent 75f2de6 commit 22ded4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assay/src/org/labkey/assay/AssayController.java
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,9 @@ public boolean matches(ExpProtocol protocol, AssayProvider provider)
{
if (_id != null && protocol.getRowId() != _id.intValue())
return false;
if (_name != null && !_name.equals(protocol.getName()))
if (_name != null && !_name.equalsIgnoreCase(protocol.getName()))
return false;
if (_type != null && !_type.equals(provider.getName()))
if (_type != null && !_type.equalsIgnoreCase(provider.getName()))
return false;
if (_status != null && !_status.equalsIgnoreCase(protocol.getStatus().name()))
return false;
Expand Down

0 comments on commit 22ded4e

Please sign in to comment.