4.0 OSSN "Group" post edit -returns- to Wall. instead of staying in "Group".. :/

G Kroschel Posted in Technical Support 8 years ago

I noticed that when i "edit" a POST within a "Group", after it saves the new Edit...
It returns to the Main/Wall.. :/ I would like my screen to Stay in where I am at. (a Group)
....

i think this is a bug. ?

slight inconvenience, but noteworthy, imho, for more user_friendly experience with OSSN.

Thanks?
G

Replies
us G Kroschel Replied 8 years ago

done.

Indonesian Arsalan Shah Replied 8 years ago
us G Kroschel Replied 8 years ago

afaik, this file, /components/OssnGroups/actions/group/edit.php shows this:

if ($edit->updateGroup($name, $desc, $group->guid)) {
ossntriggermessage(ossnprint('group:updated'));
redirect("group/{$group->guid}");
} else {
ossn
triggermessage(ossnprint('group:update:fail'), 'error');
redirect(REF);
}

i think in line #3, redirect("group/{$group->guid}"); is correct?

but it returns display to Public Wall.
I will let you know if i find what to do.
thanks.