Closed (fixed)
Project:
Glossary
Version:
5.x-2.6
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
13 Jun 2008 at 22:25 UTC
Updated:
29 Jun 2008 at 18:28 UTC
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
Comment #1
nancydruStrange, 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.
Comment #2
canen commentedThanks for the quick fix.
Comment #3
nancydru