Changeset 1295

Show
Ignore:
Timestamp:
21-12-10 11:04:12 (3 years ago)
Author:
robert@…
Message:

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

Files:
1 modified

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