mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #50232
[Bug 1797812] Re: Privacy statements in logged out page should show latest version
** No longer affects: mahara/19.04
** Changed in: mahara/18.10
Status: In Progress => Fix Committed
** Changed in: mahara/18.10
Milestone: 18.10rc2 => 18.10.0
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1797812
Title:
Privacy statements in logged out page should show latest version
Status in Mahara:
Fix Committed
Status in Mahara 18.10 series:
Fix Committed
Bug description:
in logged out page for privacy statement (/legal.php) the latest
privacy should be displayed.
Instead we order by version title, that could any string, and show the
first result. It can be seen in this query
SELECT s.content
FROM site_content_version s
WHERE s.institution = 'mahara'
AND s.type = 'privacy'
ORDER BY s.version DESC
LIMIT 1;
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1797812/+subscriptions
References