Patron name is "noname" when placing a hold.

ConversazioniTinyCat

Iscriviti a LibraryThing per pubblicare un messaggio.

Patron name is "noname" when placing a hold.

1alsocass
Giu 2, 2021, 6:59 pm

I am creating a family library, with three patrons. I don't need any fields other than a name.

In the admin panel I unchecked all fields, and entered their name.
I created three patrons.

#1
Then I went to test placing a book on hold and checking out. The pop up asks "Who is checking out?", and has three blue boxes:
(No name) #1
(No name) #2
(No name) #3

#2
I returned and tried adding a manual patron ID (which I duplicated their name), but nothing has changed.

what do I need to do?

(Also, just found this forum, thank you to whomever answered my previous question in the youtube comments section!!)

2alsocass
Modificato: Giu 2, 2021, 7:11 pm

Follow up. Have solved the problem, but it seems a bug, so thought I would explain the solution.

Observing the problem:
TinyCatAdmin>Settings>Patrons
Selected "One Field".

TinyCatAdmin>Patrons
"+add Patron"
I entered three patrons.

The issue seems to be that the database stored the name that I entered under "lastname" rather than "firstname", but didn't retrieve this name when displaying the patron names in the catalogue.

I suspect this because I went TinyCatAdmin>Patrons>Fields the fields were all visible, and the names I had entered where in the last field. I tried editing them via the pencil, but was only given a single name field (which correctly displayed the name).

Solution:
TinyCatAdmin>Settings>Patrons
Select "Separate fields..."
TinyCatAdmin>Patrons>Fields
Select the edit/pencil
Move the username to the correct field.

3kristilabrie
Giu 3, 2021, 9:36 am

>2 alsocass: Sorry for the trouble, let me see how I can help.

1. Can you give me an example of one or two patron names you added here (when you entered 3 patrons), exactly as you added them? For example, "John Smith" or "Smith, John" would be two ways to add your patrons.

2. "didn't retrieve this name when displaying the patron names in the catalogue." Where did you not see the names retrieved, exactly? Is there a set of steps I need to take to reproduce this, and/or is it only on a specific page?

I should be able to help with the above bits of information.

4alsocass
Giu 3, 2021, 9:22 pm

1.
I just entered a single name (These are my family, so I only need first names):

Kristelle
Bill
Lucy

2. Then I went to test placing a book on hold and checking out. The pop up asks "Who is checking out?", and has three blue boxes:
(No name) #1
(No name) #2
(No name) #3
(Now that it is fixed, it shows me three alphabet headings, and under each is listed a patron "Kristelle", "Bill", "Lucy". )

5kristilabrie
Giu 4, 2021, 12:46 pm

Okay, thanks for the details! I'll try testing this use case out and make sure there's no bugs involved here. It sounds like something might need to get fixed re: one name field and patron name searching, so I'll report back.

6kristilabrie
Lug 21, 2021, 1:53 pm

Finally getting back to this and drawing up a proper bug report for developers to fix.

The bug I'm seeing is that, when one's patron settings are set to "one field" for the name fields style, AND the library only enters the first name for patrons, the patrons' names are not getting parsed properly. Instead, the single name is getting dumped into the "Last name" field, as >2 alsocass: mentioned, rather than the "First name" field first.

This causes problems if you have self-checkout enabled in Simple Circulation mode and you're only showing patrons' first names in the self-checkout popup. Because the first name field is not properly generated, the names are showing up as (No name) #1, (No name) #2 (because it's registering as a "duplicate" of the same empty name), etc.