Commit bdf28e14 authored by idalin's avatar idalin

fix bug for metadata searching result.

parent a6b29772
...@@ -109,7 +109,7 @@ $(document).ready(function () { ...@@ -109,7 +109,7 @@ $(document).ready(function () {
$('#meta-info').html('<ul id="book-list" class="media-list"></ul>'); $('#meta-info').html('<ul id="book-list" class="media-list"></ul>');
} }
if (gg_done && db_done) { if (gg_done && db_done) {
if (!gg_results || !db_results) { if (!gg_results && !db_results) {
$('#meta-info').html('<p class="text-danger">'+ msg.no_result +'</p>'); $('#meta-info').html('<p class="text-danger">'+ msg.no_result +'</p>');
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment