diff --git a/VERSIONS b/VERSIONS index a407e68d92cbf66f542eb9f14ccaad7599bc4367..a067af5a49cabfe15fa97edf46c31468b93c6163 100644 --- a/VERSIONS +++ b/VERSIONS @@ -1,3 +1,4 @@ + Interface d'administration: - Article: ajout d'une coche pour spécifier si l'évènement dure toute la journée @@ -11,12 +12,19 @@ Interface utilisateur: + +23/05/2014 - v6.43.7 +Webservice SIGB Koha: + - ticket #13903 : Correction de la lecture de l'identifiant d'exemplaire pour le webservice de réservation + + 22/05/2014 - v6.43.6 - ticket #13749 : Indexation temps réel des albums : prise en compte de l'option "visible" - ticket #13578 : Autorisation des <span class="..."> dans ckeditor (+ audio, video) - ticket #13439 : Correction d'affichage des sitothèques depuis menu vertical - ticket #13876 : SIGB Koha : affichage de l'état des réservations dans le compte abonné + 21/05/2014 - v6.43.5 - ticket #13597 : Correction de la modération des tags de notices - ticket #13660 : Correction des infos-bulles du résultat de recherche en mode mur lorsqu'on vient d'un rebond diff --git a/library/Class/Exemplaire.php b/library/Class/Exemplaire.php index 177f4f3a9ae0bd1ab0747c753fabe4813989db5e..06256ae94d1166bbe10b932b3f304ef501a0e6ec 100644 --- a/library/Class/Exemplaire.php +++ b/library/Class/Exemplaire.php @@ -157,7 +157,7 @@ class Class_Exemplaire extends Storm_Model_Abstract { public function getSubfield($id) { $fields = $this->zone995toArray(); foreach($fields as $field) - if ($id == $field['clef']) + if ($id == $this->get995Key($field)) return $field['valeur']; return ''; } @@ -173,7 +173,7 @@ class Class_Exemplaire extends Storm_Model_Abstract { $writer->setNotice($this->getNotice()->getUnimarc()); $subfields = []; foreach ($this->zone995toArray() as $subfield) - $subfields[] = [$subfield['clef'], $subfield['valeur']]; + $subfields[] = [$this->get995Key($subfield), $subfield['valeur']]; $writer->add_field('995', ' 1', $subfields); return $writer->toUnimarcIso2709(); } @@ -185,9 +185,17 @@ class Class_Exemplaire extends Storm_Model_Abstract { $ret = ''; foreach($datas as $data) - $ret .= $data['clef'] . '=' . $data['valeur'] . "<br>"; + $ret .= $this->get995Key($data) . '=' . $data['valeur'] . "<br>"; return $ret; } + + + /** + * /!\ Temporary fix to #13903 + */ + protected function get995Key($data) { + return (isset($data['clef'])) ? $data['clef'] : $data['code']; + } } ?> \ No newline at end of file diff --git a/library/startup.php b/library/startup.php index 6324302d1e47863b365610ccabf66cbb2690de5c..ebf71ba4b10095decdcca4793716f3a29867c3d7 100644 --- a/library/startup.php +++ b/library/startup.php @@ -56,7 +56,7 @@ function defineConstant($name, $value) { function setupConstants() { defineConstant('VERSION_PERGAME','6.44'); - defineConstant('RELEASE_NUMBER', VERSION_PERGAME.'.beta'); + defineConstant('RELEASE_NUMBER', VERSION_PERGAME.'0'); defineConstant('ROOT_PATH', realpath(dirname(__FILE__).'/..').'/');