No Arguments in hook_certificate_map_options

Created on 20 December 2023, 6 months ago
Updated 30 May 2024, about 1 month ago

Problem/Motivation

When using this hook for certificate map options was not able to filter records whether they are active or not
In Some cases all records required and in some cases active records required

Steps to reproduce

At the time of showing certificate map options for the course only active records data is shown which is correct
But if some record of map data are disabled the issue comes in downloading certificate for old disabled records used in certificate map

Proposed resolution

In all places where hook_certificate_map_options is implemented we need to add argument

Attached a patch. Use certificate-4928.patch file

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇮🇳India vineshmalviya

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024