[Koha-bugs] [Bug 35145] New: Add ability to order patron attributes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 24 18:47:32 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35145

            Bug ID: 35145
           Summary: Add ability to order patron attributes
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org

Right now, patron attributes are presented in code order. It would be nice to
have a way to choose the order in which they are presented.

I put this in OPAC because I noticed this in the self-registration form. But I
guess it would be true for the staff interface too.

My actual use case was for birth details of a baby. I had the birthdate, the
number of weeks and the number of days of pregnancy, the weight of the baby,
the surname of the baby, etc. I had specifically added them in the order I
wanted because I thought the creation order would be the display order. But
they were displayed in code order, and the order made no sense (file number,
number of days of pregnancy, birth date of the baby, surname of the baby,
weight at birth, number of weeks of pregnancy).

I thought something like a "Display order" field like the ones we have in
serial patterns and numbering and in the additional contents would be useful.

To recreate:
1. Create several patron attributes with various codes
   1.1. Go to Administration > Patron attribute types > New patron attribute
type
   1.2. Fill out the form
        - Code: enter any code, for example WEIGHT
        - Description: enter any description
        - Display in OPAC: check
        - Editable in OPAC: check
   1.3. Click Save
   1.4. Repeat to add a second code with a code alphabetically "before" the
previous one, for example SURNAME
   1.5. Optionnally, add more to really view the order

2. Enable self-registration
   2.1. Go to Administration > System preferences
   2.2. Search for selfreg
   2.3. Set PatronSelfRegistration to Allow
   2.4. Set a category in PatronSelfRegistrationDefaultCategory
   2.5. Click Save all OPAC preferences

3. View self-registration form
   3.1. Go to the OPAC
   3.2. Click on Don't have an account? Register here.
   3.3. Go to the bottom of the form
        --> Note that the patron attribute fields are presented in alphabetical
order of the code.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list