Hi, I've done quite a bit of customization to the Groupjive component and for some reason I'm having what seems like a silly issue.
The latest bulletin section only returns 1 result, here is how it's queried in the groupjive_func.php:
[code:1]
$query .= "\n FROM " . $_CB_database->NameQuote( '#__gj_bul' ) . " AS a"
. "\n INNER JOIN " . $_CB_database->NameQuote( '#__users' ) . " AS b"
. ' ON a.' . $_CB_database->NameQuote( 'author_id' ) . ' = b.' . $_CB_database->NameQuote( 'id' )
. "\n WHERE a." . $_CB_database->NameQuote( 'group_id' ) . " = " . (int) $gid
. "\n ORDER BY a." . $_CB_database->NameQuote( 'date_bul' ) . " DESC LIMIT 5";
[/code:1]
I have it set to 5 in the admin section as well. This was originally set to desc limit 1 so I changed it to 5 which in my mind should have changed it but it didn't. I also tried desc limit 0, 5 and 1, 5 and nothing seems to work. If I change it to desc limit 0 it doesn't return any results and if I change it to 2, 5 it returns the second result but still only 1 result. Obviously the desc limit is working, but any ideas why it's only returning one result? I must be missing something somewhere.