← Back to team overview

mahara-contributors team mailing list archive

[Bug 1797812] A change has been merged

 

Reviewed:  https://reviews.mahara.org/9234
Committed: https://git.mahara.org/mahara/mahara/commit/69a964a581c8d259071380e809b15e0ab688a946
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    18.10_STABLE

commit 69a964a581c8d259071380e809b15e0ab688a946
Author: Cecilia Vela Gurovic <ceciliavg@xxxxxxxxxxxxxxx>
Date:   Mon Oct 15 12:05:59 2018 +1300

Bug 1797812: show latest privacy statement in logged out privacy page

behatnotneeded

Change-Id: I163cb13a77e03fdbdf21c27bace787e104383a2f
(cherry picked from commit 3ccc3e54f6971d51e0107de931f39d538009ac7c)

-- 
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