Comment 2 for bug 1740208

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8379
Committed: https://git.mahara.org/mahara/mahara/commit/73a105bd5b5d72ba2980bbcf0ce686966cafd586
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 73a105bd5b5d72ba2980bbcf0ce686966cafd586
Author: Robert Lyon <email address hidden>
Date: Wed Dec 27 15:09:42 2017 +1300

Bug 1740208: Fetch related view for artefacts we can see

Fix the way we find the related views now that we don't have a 'view'
type to restrict to. We can achieve this via the internal '_id' value
as that is a combination of old type and id values.

Also strip tags except the <span> one from highlighted description code
in case there is bad html/js in there.

behatnotneeded

Change-Id: I962accadb352b52dd72b61844f7fe0bd0d586ce2
Signed-off-by: Robert Lyon <email address hidden>