Problem/Motivation

Up to version 7.x-1.5 ist was possible to name a number of possible uses of a RegCode. This issue allowed to create a RegCode to be used several times by a group of people. Main page of the module still shows the column "Max. uses" but when creating the code the field entry for "Max uses" ist missing since updating on 7.x-2.0.

Proposed resolution

Re-installation of in former times available field in the create code form..

Comments

Joerg_Krey created an issue. See original summary.

TR’s picture

Version: 7.x-2.0 » 7.x-2.x-dev
Issue tags: -Performance

Yes, it seems like that was broken by #2781241: Required Patch for ajax validation, Remove PDOexception for already exists code and date fields to reduce +-15. That change wasn't discussed in the issue, so I'm not sure why it was done. A quick fix is to edit regcode.module and change the word 'hidden' to 'textfield'. That word only occurs once in the file.

I'm leaving this open without a patch because I will have to figure out why that change was made and whether reverting that change will break that other issue or not.