Changeset 1295


Ignore:
Timestamp:
Dec 21, 2010, 11:04:12 AM (6 years ago)
Author:
robert@…
Message:

Making it possible to search on pubmed ID (#212)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web-app/js/publication-chooser.pubmed.js

    r959 r1295  
    77    var terms = searchterm.split( " " );
    88    for( var i = 0; i < terms.length; i++ ) {
    9         searchFor[ searchFor.length ] = "(" + $.trim( terms[i] ) + "[title]" + " OR " + $.trim( terms[i] ) + "[author]" + ")";
     9        searchFor[ searchFor.length ] = "(" + $.trim( terms[i] ) + "[title]" + " OR " + $.trim( terms[i] ) + "[author]" + " OR " + $.trim( terms[i] ) + "[pmid]" + ")";
    1010    }
    1111
Note: See TracChangeset for help on using the changeset viewer.