thexerteproject / xerteonlinetoolkits

Xerte Online Toolkits
www.xerte.org.uk
Apache License 2.0
62 stars 61 forks source link

Results page - full completion doesn't change the way completion is calculated #1274

Open FayCross opened 5 months ago

FayCross commented 5 months ago

I don't know if this is a new issue or has always been this way. Regardless of whether the full completion optional property is added or checked/unchecked, the completion % shown always seems to be based on the number of pages in the project, not just those viewed.

For example, I have two quiz pages, a results page and then two more pages. Working through the pages in order, I reach the results page before even viewing two of the pages. The completion percentage will always say 50% regardless of whether 'full completion' is checked or not. I would expect that it would say 100% if not checked (or optional property not added) or 50% if full completion is checked.

@torinfo am I misunderstanding the purpose of this optional property?

torinfo commented 3 months ago

@FayCross I'll have a look. By heart I thought it only makes a difference if the result page is not the last page of the project, but I'll check.