https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40807
Brendan Lawlor <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #186400|0 |1 is obsolete| | --- Comment #3 from Brendan Lawlor <[email protected]> --- Created attachment 186591 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186591&action=edit Bug 40807: fix: username field in quick add form The username field would not appear in the quick add form despite being marked as required in BorrowerMandatoryField. This was due the interaction between a change introduced by Bug 38459 and the dummy input for the username field. This patch moves the dummy input so that the true input is the last child that the change in Bug 38459 targets. This allows the username field to appear when added to BorrowerMandatoryField. Test plan: 0. (Before applying the patch, follow the replication tests as in the comment above.) 1. Login to the Koha staff interface 2. Search system preferences for BorrowerMandatoryField 3. Toggle on Username (userid) so it is added to the list of fields and save your changes. 4. Navigate to /cgi-bin/koha/members/memberentry.pl?op=add_form&categorycode=PT, notice that username still shows and is marked as required 5. Navigate to /cgi-bin/koha/members/memberentry.pl?op=add_form&categorycode=PT&quickadd=true, notice that the username field does show. Signed-off-by: Brendan Lawlor <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
