Summary: | messaging defaults not on add child | ||
---|---|---|---|
Product: | Koha | Reporter: | Nicole C. Engard <nengard> |
Component: | Patrons | Assignee: | Galen Charlton <gmcharlt> |
Status: | RESOLVED DUPLICATE | QA Contact: | Bugs List <koha-bugs> |
Severity: | normal | ||
Priority: | P5 - low | CC: | oleonard |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
URL: | cgi-bin/koha/members/memberentry.pl?op=add&guarantorid=5&category_type=C | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
Chris Cormack
2010-05-21 01:27:32 UTC
This is because the URL does not have a categorycode - instead it has a category type ... not sure how to fix it but hope that helps some. You can't pass a category to the add child screen because the category is unknown at that stage. The form passes the category type only, and the add child entry form automatically preselects the first available category under the 'C' category type. Theoretically, there could be any number of sub-categories to the "Child" category type. In fact the only time when this works properly is when you begin patron creation by choosing a specific patron category. What if you start by creating a patron with one category but you change your mind and instead choose a different category from the drop-down menu on the patron entry form? You'll still have the defaults from the patron category you started with. The only way around it would be to create some method for refreshing the messaging defaults with values based on the currently-selected patron category. I can picture some kind of AJAX-based method for this, but I don't see how you can fix this simply. If it was simple I would have done it :) The problem is that while you and I understand why it isn't working - those using it don't understand. And they may assume that the defaults are selected and not see that this is not the case. So maybe a ajax refresh - or some other note to make it clear that the messaging defaults don't work when clicking 'add child' Maybe this could work if we changed the behaviour of the 'add child' button to make you select a child patron category when clicking it? |