When a glossary search returns no results the page is blank. It would be much better if we say the search result was empty. I did a quick thing in the glossary_search_results function that also places the search form on the page.

if (db_num_rows($result) == 0) {
    return '<p>Your search returned no results</p>' . drupal_get_form('glossary_search_form');
}

Comments

nancydru’s picture

Assigned: Unassigned » nancydru
Status: Active » Fixed

Strange, I had something in the 6.x version. I changed it to be very much like the the Search module. Thanks for finding this.

Fix committed to both branches.

canen’s picture

Thanks for the quick fix.

nancydru’s picture

Status: Fixed » Closed (fixed)