Skip to content
Snippets Groups Projects
Commit 6d99ae50 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #182273 fix cosmogramme integrations programmées

parent a5adf98b
Branches
Tags
1 merge request!4775hotline #182273 fix cosmogramme integrations programmées
Pipeline #24210 failed with stage
in 23 minutes and 4 seconds
- correctif #182273 : Cosmogramme : Correction de l'affichage des intégrations programmées
\ No newline at end of file
......@@ -104,7 +104,6 @@ function getBlocsParams($id_bib, $type, $valeurs) {
$champs_params[0] = ['server_url',
'remote_library_id'];
if (in_array($clef, [Class_IntBib::COM_PMB, Class_IntBib::COM_VSMART, Class_IntBib::COM_MICROBIB, Class_IntBib::COM_BIBLIXNET, Class_IntBib::COM_WATERBEAR]))
$champs_params[0] = ['url_serveur'];
......@@ -117,18 +116,17 @@ function getBlocsParams($id_bib, $type, $valeurs) {
$champs_params[0] = ['url_serveur', 'key','sigb_field_name'];
if (in_array($clef, [Class_IntBib::COM_ORPHEE]))
$champs_params[0] = ['url_serveur',
'key',
['identification_server_provider' =>
fn( $id, $value) => return getOuiNon($id, $value);
],
'allow_hold_available_items',
['hold_mode' => function($id, $valeur) {
return getComboSimple($id,
$valeur,
['' => 'Au titre',
'1' => 'A l\'exemplaire']);
}]];
$champs_params[0] =
['url_serveur',
'key',
['identification_server_provider' => fn( $id, $value) => getOuiNon($id, $value)],
'allow_hold_available_items',
['hold_mode' => function($id, $valeur) {
return getComboSimple($id,
$valeur,
['' => 'Au titre',
'1' => 'A l\'exemplaire']);
}]];
if ($clef == Class_IntBib::COM_KOHA)
$champs_params[0] = ['url_serveur',
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment