Privacy statements in logged out page should show latest version
Bug #1797812 reported by
Cecilia Vela Gurovic
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Cecilia Vela Gurovic | ||
18.04 |
Fix Released
|
High
|
Unassigned | ||
18.10 |
Fix Released
|
High
|
Cecilia Vela Gurovic |
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_
WHERE s.institution = 'mahara'
AND s.type = 'privacy'
ORDER BY s.version DESC
LIMIT 1;
Changed in mahara: | |
importance: | Undecided → High |
assignee: | nobody → Cecilia Vela Gurovic (ceciliavg) |
status: | New → In Progress |
no longer affects: | mahara/19.04 |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/9218