Permalink
Browse files

Now entries are showed correctly in categories view if they belong

to multiple categories.

Bug 1903
(http://moodle.org/bugs/bug.php?op=show&bugid=1903)
  • Loading branch information...
stronk7
stronk7 committed Sep 6, 2004
1 parent c1d0f7d commit cda01a605213648e565283aeacca4e0b949ddac7
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/glossary/sql.php
View
@@ -43,7 +43,7 @@
case GLOSSARY_CATEGORY_VIEW:
if ($hook == GLOSSARY_SHOW_ALL_CATEGORIES ) {
- $sqlselect = "SELECT ge.*, gec.entryid, gc.name $as pivot";
+ $sqlselect = "SELECT gec.id, ge.*, gec.entryid, gc.name $as pivot";
$sqlfrom = "FROM {$CFG->prefix}glossary_entries ge,
{$CFG->prefix}glossary_entries_categories gec,
{$CFG->prefix}glossary_categories gc";

0 comments on commit cda01a6

Please sign in to comment.