Skip to content

Commit 3738466

Browse files
committed
wts2-1707/e4g-320/GXD HT Index : Make the PubMed ID field in the GXD HT indexing module searchable
1 parent c853d78 commit 3738466

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/jax/mgi/mgd/api/model/gxd/service/HTExperimentService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,12 +429,12 @@ public List<SlimHTDomain> search(HTDomain searchDomain) {
429429
*/
430430
value = searchDomain.getNewPubmedIds();
431431
if (value != null && !value.isEmpty()) {
432-
value = value.replaceAll(" ", ",");
432+
value = value.replaceAll(" ", "','");
433433
from = from + ", MGI_Property p";
434434
where = where + "\nand hte._Experiment_key = p._Object_key";
435435
where = where + "\nand p._mgitype_key = 42";
436436
where = where + "\nand p._propertyterm_key = 20475430";
437-
where = where + "\nand p.value = (" + value + ")";
437+
where = where + "\nand p.value = ('" + value + "')";
438438
}
439439

440440
// log for easy copy/paste for troubleshooting

0 commit comments

Comments
 (0)