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

hotline_#16652_search_with_bib_filter remove redirect to referer behavior + css

parent 30bcf39d
Branches
Tags
4 merge requests!529Hotline 6.56,!519Master,!518Hotline 6.55,!507Hotline #16652 search with bib filter
...@@ -9,7 +9,7 @@ echo $this->tagAnchor('javascript:selectall()', ...@@ -9,7 +9,7 @@ echo $this->tagAnchor('javascript:selectall()',
echo $this->tagAnchor('javascript:deselectall()', echo $this->tagAnchor('javascript:deselectall()',
$this->_('Tout décocher')); $this->_('Tout décocher'));
?> ?>
<form name="selection" method="post" action=""> <form name="selection" method="post">
<?php <?php
echo ('<ul>'); echo ('<ul>');
foreach($this->zones as $zone ) foreach($this->zones as $zone )
......
...@@ -2878,4 +2878,9 @@ a.loan-export { ...@@ -2878,4 +2878,9 @@ a.loan-export {
.calendar ul.filters ul li a:hover { .calendar ul.filters ul li a:hover {
background-color: white; background-color: white;
}
.boite.rech_simple .selected_bib_info span {
display: block;
} }
\ No newline at end of file
...@@ -327,7 +327,6 @@ abstract class BibControllerBibSelectionAbstractTestCase extends AbstractControl ...@@ -327,7 +327,6 @@ abstract class BibControllerBibSelectionAbstractTestCase extends AbstractControl
public function setUp() { public function setUp() {
parent::setUp(); parent::setUp();
$_SERVER['HTTP_REFERER'] = 'http://my-bokeh.fr';
$_SESSION['selection_bib'] = ['id_bibs' => []]; $_SESSION['selection_bib'] = ['id_bibs' => []];
$this->fixture('Class_Zone', $this->fixture('Class_Zone',
...@@ -434,12 +433,6 @@ class BibControllerBibSelectionPostDispatchTest extends BibControllerBibSelectio ...@@ -434,12 +433,6 @@ class BibControllerBibSelectionPostDispatchTest extends BibControllerBibSelectio
} }
/** @test */
public function shoudRedirectToExpectedReferer() {
$this->assertRedirectTo('http://my-bokeh.fr');
}
/** @test */ /** @test */
public function seesionShouldContainsCasablancaAndCairo() { public function seesionShouldContainsCasablancaAndCairo() {
$this->assertEquals([1, 2] ,$_SESSION['selection_bib']['id_bibs']); $this->assertEquals([1, 2] ,$_SESSION['selection_bib']['id_bibs']);
......
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