From 05c3f88982c0fa1a1a31440ea5e97c8d945b048d Mon Sep 17 00:00:00 2001 From: Ghislain Loas <ghislo@sandbox.pergame.net> Date: Mon, 3 Nov 2014 12:34:53 +0100 Subject: [PATCH] hotline_#16652_search_with_bib_filter remove redirect to referer behavior + css --- application/modules/opac/views/scripts/bib/selection.phtml | 2 +- public/opac/css/global.css | 5 +++++ .../modules/opac/controllers/BibControllerTest.php | 7 ------- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/application/modules/opac/views/scripts/bib/selection.phtml b/application/modules/opac/views/scripts/bib/selection.phtml index c30fefc1c8f..d48c613ed85 100644 --- a/application/modules/opac/views/scripts/bib/selection.phtml +++ b/application/modules/opac/views/scripts/bib/selection.phtml @@ -9,7 +9,7 @@ echo $this->tagAnchor('javascript:selectall()', echo $this->tagAnchor('javascript:deselectall()', $this->_('Tout décocher')); ?> -<form name="selection" method="post" action=""> +<form name="selection" method="post"> <?php echo ('<ul>'); foreach($this->zones as $zone ) diff --git a/public/opac/css/global.css b/public/opac/css/global.css index 07f2b0b703a..b125294c55d 100644 --- a/public/opac/css/global.css +++ b/public/opac/css/global.css @@ -2878,4 +2878,9 @@ a.loan-export { .calendar ul.filters ul li a:hover { background-color: white; +} + + +.boite.rech_simple .selected_bib_info span { + display: block; } \ No newline at end of file diff --git a/tests/application/modules/opac/controllers/BibControllerTest.php b/tests/application/modules/opac/controllers/BibControllerTest.php index 2ba25d9eba8..c156ba3b48f 100644 --- a/tests/application/modules/opac/controllers/BibControllerTest.php +++ b/tests/application/modules/opac/controllers/BibControllerTest.php @@ -327,7 +327,6 @@ abstract class BibControllerBibSelectionAbstractTestCase extends AbstractControl public function setUp() { parent::setUp(); - $_SERVER['HTTP_REFERER'] = 'http://my-bokeh.fr'; $_SESSION['selection_bib'] = ['id_bibs' => []]; $this->fixture('Class_Zone', @@ -434,12 +433,6 @@ class BibControllerBibSelectionPostDispatchTest extends BibControllerBibSelectio } - /** @test */ - public function shoudRedirectToExpectedReferer() { - $this->assertRedirectTo('http://my-bokeh.fr'); - } - - /** @test */ public function seesionShouldContainsCasablancaAndCairo() { $this->assertEquals([1, 2] ,$_SESSION['selection_bib']['id_bibs']); -- GitLab