#22 Slight add to glossary.class

closed-fixed
nobody
None
5
2001-08-15
2001-08-03
No

For some reason clicking on Glossary does a
"search."

But search fails to sort (ORDER) yet listGlossary did.

A quick fix:

Glossary.class:

183 if ($search == "") {
184 $q = "SELECT *
185 FROM psl_glossary";
186 } else {
187 $q = "SELECT *
188 FROM psl_glossary
189 WHERE term LIKE '%$search%'
190 OR def LIKE '%$search%'";
191 }

192 $q .= " ORDER by term";

Discussion

  • Ajay Sharma

    Ajay Sharma - 2001-08-15
    • status: open --> closed-fixed
     
  • Ajay Sharma

    Ajay Sharma - 2001-08-15

    Logged In: YES
    user_id=70334

    this is in the phpslash-ft cvs module.

     

Log in to post a comment.