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
bibliossimo
opacce
Commits
fb022a38
Commit
fb022a38
authored
Dec 15, 2017
by
Patrick Barroca
😁
Browse files
hotline #67869 : see all issues limited to same doc type
parent
ad440aba
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
5 deletions
+15
-5
VERSIONS_HOTLINE/67869
VERSIONS_HOTLINE/67869
+1
-0
library/Class/MoteurRecherche.php
library/Class/MoteurRecherche.php
+4
-1
library/Class/Notice.php
library/Class/Notice.php
+6
-1
library/Class/WebService/SIGB/Opsys/Service.php
library/Class/WebService/SIGB/Opsys/Service.php
+1
-1
library/ZendAfi/View/Helper/Notice/Entete.php
library/ZendAfi/View/Helper/Notice/Entete.php
+1
-1
library/ZendAfi/View/Helper/TagCVSCriteresRecherche.php
library/ZendAfi/View/Helper/TagCVSCriteresRecherche.php
+2
-1
No files found.
VERSIONS_HOTLINE/67869
0 → 100644
View file @
fb022a38
- ticket #67869 : Recherche : le lien "Voir tour les ..." présent dans les notices de périodiques ou les séries filtre désormais au type de document de la notice
\ No newline at end of file
library/Class/MoteurRecherche.php
View file @
fb022a38
...
...
@@ -108,7 +108,10 @@ class Class_MoteurRecherche {
public
function
visitSerie
(
$serie
,
$tri
)
{
$this
->
setCondition
(
'clef_chapeau="'
.
$serie
.
'" '
);
list
(
$clef
,
$type
)
=
explode
(
'-'
,
$serie
);
$this
->
setCondition
(
'clef_chapeau="'
.
$clef
.
'" '
);
if
(
$type
)
$this
->
setCondition
(
'type_doc="'
.
$type
.
'"'
);
if
(
$tri
==
'date_creation desc'
)
$this
->
order_by
=
'order by cast(tome_alpha as SIGNED INTEGER) desc'
;
...
...
library/Class/Notice.php
View file @
fb022a38
...
...
@@ -35,9 +35,14 @@ class NoticeLoader extends Storm_Model_Loader {
return
$notices
;
}
public
function
findFirstNoticeForClefChapeau
(
$clef
)
{
return
$this
->
findFirstBy
([
'clef_chapeau'
=>
$clef
]);
list
(
$clef
,
$type
)
=
explode
(
'-'
,
$clef
);
$params
=
[
'clef_chapeau'
=>
$clef
];
if
(
$type
)
$params
[
'type_doc'
]
=
$type
;
return
$this
->
findFirstBy
(
$params
);
}
...
...
library/Class/WebService/SIGB/Opsys/Service.php
View file @
fb022a38
...
...
@@ -332,7 +332,7 @@ class Class_WebService_SIGB_Opsys_Service extends Class_WebService_SIGB_Abstract
new
RecupererNotice
(
$this
->
guid
,
$id
));
return
$notice_result
->
createNotice
();
}
catch
(
Exception
$e
)
{
$this
->
_dumpSoapTrace
();
//
$this->_dumpSoapTrace();
}
}
...
...
library/ZendAfi/View/Helper/Notice/Entete.php
View file @
fb022a38
...
...
@@ -40,7 +40,7 @@ class ZendAfi_View_Helper_Notice_Entete extends ZendAfi_View_Helper_BaseHelper {
return
''
;
$criteres
=
new
Class_CriteresRecherche
();
$serie
=
$notice
->
getClefChapeau
();
$serie
=
$notice
->
getClefChapeau
()
.
'-'
.
$notice
->
getTypeDoc
()
;
$label
=
Class_Codification
::
getLibelleForSerie
(
$notice
);
...
...
library/ZendAfi/View/Helper/TagCVSCriteresRecherche.php
View file @
fb022a38
...
...
@@ -64,7 +64,8 @@ class ZendAfi_View_Helper_TagCVSCriteresRecherche extends Zend_View_Helper_HtmlE
public
function
visitSerie
(
$serie
)
{
$this
->
criteres
[]
=
$serie
;
list
(
$clef
,
$type
)
=
explode
(
'-'
,
$serie
);
$this
->
criteres
[]
=
$clef
;
}
...
...
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