# HG changeset patch # User mas01mj # Date 1255618027 0 # Node ID 3e25f26b6a276e6847e9eb7f453d01f93b8706aa # Parent 1a251dd217c64ee6ba522473529d8a7e397bc0fe Some minor tweaks to the browser JS/HTML. diff -r 1a251dd217c6 -r 3e25f26b6a27 examples/browser/web/index.html --- a/examples/browser/web/index.html Thu Oct 15 14:24:36 2009 +0000 +++ b/examples/browser/web/index.html Thu Oct 15 14:47:07 2009 +0000 @@ -4,11 +4,13 @@ - + + + diff -r 1a251dd217c6 -r 3e25f26b6a27 examples/browser/web/js/browser.js --- a/examples/browser/web/js/browser.js Thu Oct 15 14:24:36 2009 +0000 +++ b/examples/browser/web/js/browser.js Thu Oct 15 14:47:07 2009 +0000 @@ -50,7 +50,7 @@ if(artistSearchString.length > 0) { - queryString += ' FILTER regex(?artist_name, "'+artistSearchString+'", "i")'; + queryString += ' FILTER regex(?artist_name, "^'+artistSearchString+'", "i")'; } else { @@ -61,7 +61,7 @@ if(trackSearchString.length > 0) { - queryString += ' FILTER regex(?track_title, "'+trackSearchString+'", "i")'; + queryString += ' FILTER regex(?track_title, "^'+trackSearchString+'", "i")'; } else {