Currently, the 773 is only shown in staff normal view via XSLT bloc if leader19==c. The label is named: 'Set'. This is too limited. I would suggest to remove the limitation of checking leader19 and renaming the label to the more general 'In:'. This is in accordance with Library of Congress MARC standard. I will send a patch.
Created attachment 2998 [details] [review] Patch
Sending a revised patch for showing the correct control number in the URL. According to LOC guidelines, the control number in $w may be prefixed by an organization code between parentheses like (NL-AmRIJ)12345. The URL should only list the record number 12345. This patch only corrects that for the 773 field. I will send another followup patch for other MARC tags (with a generic bug report). The common XSLT code for that is included in this patch ALREADY. So the followup will be depending on this one.
Created attachment 3029 [details] [review] Revised patch
Resetting patch status. Found a bug in this patch; will submit a corrected version.
Comment on attachment 3029 [details] [review] Revised patch Erroneous
Initial description was not completely valid. Field 773 was shown already under several conditions. Latest patch extends display with the following: Applies change to OPAC and staff detail view. Chops punctuation. Adds 773g (including page numbers or so). Strips MARC org code from URL. Utils code is used as basis for patches #5662 and #5663 too.
Created attachment 3052 [details] [review] Revised patch
This bug is mentioned in: Bug 5622 (Show 773 host in staff normal view) http://lists.koha-community.org/pipermail/koha-patches/2011-January/013614.html Bug 5622: Always show host entry (773) in staff; control number without organization code http://lists.koha-community.org/pipermail/koha-patches/2011-January/013710.html
Created attachment 3342 [details] [review] Signed-off patch
(In reply to comment #9) > Created attachment 3342 [details] [review] > Signed-off patch Thanks!
Pushed, please test
Works for me. When testing, add a zero in the first 773 indicator to display the note. If you enter something like (ABCdef77)456 in the control number, the link should correctly point to record 456, stripping off the stuff between parentheses.