From c6e49fafabe90f0817009e05347d7530101796e3 Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 3 Sep 2010 15:36:21 +0000 Subject: [PATCH] add opac_visible to asset.copy_location and org units git-svn-id: svn://svn.open-ils.org/ILS/trunk@17469 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm b/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm index ee5886987..a58e9d4f1 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm @@ -2677,6 +2677,7 @@ sub as_xml { $xml .= 'id="tag:open-ils.org:asset-call_number/' . $self->obj->id . '" '; $xml .= 'lib="' . $self->escape( $self->obj->owning_lib->shortname ) . '" '; + $xml .= 'opac_visible="' . $self->obj->owning_lib->opac_visible . '" '; $xml .= 'label="' . $self->escape( $self->obj->label ) . '">'; $xml .= "\n"; @@ -3103,13 +3104,13 @@ sub as_xml { $xml .= ">\n"; $xml .= ' ' . $self->escape( $self->obj->status->name ) . "\n"; - $xml .= ' ' . $self->escape( $self->obj->location->name ) . "\n"; - $xml .= ' ' . $self->escape( $self->obj->circ_lib->name ) . "\n"; + $xml .= ' ' . $self->escape( $self->obj->location->name ) . "\n"; + $xml .= ' ' . $self->escape( $self->obj->circ_lib->name ) . "\n"; $xml .= ' obj->circ_lib->id . '" '; $xml .= 'shortname="'.$self->escape( $self->obj->circ_lib->shortname ) .'" '; - $xml .= 'name="'.$self->escape( $self->obj->circ_lib->name ) .'"/>'; + $xml .= 'name="'.$self->escape( $self->obj->circ_lib->name ) .' opac_visible="'.$self->obj->circ_lib->opac_visible.'""/>'; $xml .= "\n"; $xml .= " \n"; -- 2.11.0