diff --git a/VERSIONS_HOTLINE/60040 b/VERSIONS_HOTLINE/60040 new file mode 100644 index 0000000000000000000000000000000000000000..2b377048e863a6e8e8ad4b9b2e1127086ff385c4 --- /dev/null +++ b/VERSIONS_HOTLINE/60040 @@ -0,0 +1 @@ + - ticket #60040 : Correction d'un bug lors de l'intégration des fichiers d'abonnés Nanook \ No newline at end of file diff --git a/library/Class/User/DoubleFinder.php b/library/Class/User/DoubleFinder.php index 94987266d6d4fc6bfcd70ca3fdd3f5e8fdfab4cd..64cfe9b8402e9471a77171711aa5ebfa09632bf6 100644 --- a/library/Class/User/DoubleFinder.php +++ b/library/Class/User/DoubleFinder.php @@ -147,7 +147,7 @@ class Class_User_DoubleFinder_NanookStrategy } - protected function _matchByLoginAndIdSigbAndIdSite() { + protected function _matchByLoginAndIdSigbAndLibrary() { return $this->_matchRestrictedToSite(['login' => $this->getPatronLogin(), 'id_sigb' => $this->getPatronIdSigb()]); } diff --git a/tests/library/Class/UserDoubleFinderTest.php b/tests/library/Class/UserDoubleFinderTest.php index 4309d8eabe522df6561c0a25c210fe98e814aba6..c9832ef6a4b09d5f1a80a96e624c8ca7b4093baa 100644 --- a/tests/library/Class/UserDoubleFinderTest.php +++ b/tests/library/Class/UserDoubleFinderTest.php @@ -70,7 +70,7 @@ class UserDoubleFinderWithSingleNanookTest extends ModelTestCase { 'ROLE' => 'abonne_sigb', 'ROLE_LEVEL' => 2, 'IDABON' => '0046158', - 'ORDREABON' => 1, + 'ORDREABON' => 3, 'pseudo' => '', 'DATE_DEBUT' => '', 'ID_SIGB' => '6308',