Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Quentin CHEVILLON
opacce
Commits
89456a4b
Commit
89456a4b
authored
Aug 17, 2021
by
Arthur Suzuki
Browse files
hotline#138642 : fix webservice parameter names for calendar holds with Koha
parent
2a7af482
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
VERSIONS_HOTLINE/138642
VERSIONS_HOTLINE/138642
+1
-0
library/Class/WebService/SIGB/Koha/Service.php
library/Class/WebService/SIGB/Koha/Service.php
+2
-2
tests/library/Class/WebService/SIGB/KohaTest.php
tests/library/Class/WebService/SIGB/KohaTest.php
+1
-1
No files found.
VERSIONS_HOTLINE/138642
0 → 100644
View file @
89456a4b
- ticket #138642 : SIGB Koha : Mise à jour des paramêtres requis pour une réservation calendaire.
\ No newline at end of file
library/Class/WebService/SIGB/Koha/Service.php
View file @
89456a4b
...
...
@@ -292,8 +292,8 @@ class Class_WebService_SIGB_Koha_Service extends Class_WebService_SIGB_AbstractR
$this
->
_setPickupLocation
([
'patron_id'
=>
$this
->
_getUserPatronId
(
$user
),
'bib_id'
=>
$exemplaire
->
getBibNumberFromIdOrigine
(),
'item_id'
=>
$exemplaire
->
getSubfield
(
9
),
'
needed_before
_date'
=>
$reservedate
,
'
pickup_
expiry_date'
=>
$expirationdate
],
'
start
_date'
=>
$reservedate
,
'expiry_date'
=>
$expirationdate
],
$code_annexe
),
'code'
);
...
...
tests/library/Class/WebService/SIGB/KohaTest.php
View file @
89456a4b
...
...
@@ -1127,7 +1127,7 @@ class KohaGetRecordElementaireMonCherPolarTest extends KohaTestCase {
$this
->
mock_web_client
->
whenCalled
(
'open_url'
)
->
with
(
'http://cat-aficg55.biblibre.com/cgi-bin/koha/ilsdi.pl?service=HoldItem&patron_id=007&bib_id=1&item_id=123&
needed_before
_date=2020-01-19&
pickup_
expiry_date=2020-02-25&pickup_location=007'
)
->
with
(
'http://cat-aficg55.biblibre.com/cgi-bin/koha/ilsdi.pl?service=HoldItem&patron_id=007&bib_id=1&item_id=123&
start
_date=2020-01-19&expiry_date=2020-02-25&pickup_location=007'
)
->
answers
(
"<HoldTitle>
<title>Elementaire mon cher Polar</title>
<pickup_location>007</pickup_location>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment