From 8225550ca2912c8f6861c0bda6affe975eb26c9a Mon Sep 17 00:00:00 2001 From: hdl Date: Tue, 4 Oct 2005 09:40:26 +0000 Subject: [PATCH] Bug Fixing : Order by title wouldn't work any longer... Display volume and volumeddesc in Intranet. Modifying Common-style.css in order to have a "prety display in resultlist. --- C4/SearchMarc.pm | 2 +- .../default/en/includes/common-style.css | 3 ++- .../default/en/search.marc/result.tmpl | 18 +++++++++++------- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/C4/SearchMarc.pm b/C4/SearchMarc.pm index a4fb7f1475..15dbb5d237 100644 --- a/C4/SearchMarc.pm +++ b/C4/SearchMarc.pm @@ -279,7 +279,7 @@ sub catalogsearch { my ($sql_tables, $sql_where1, $sql_where2) = create_request($dbh,\@normal_tags, \@normal_and_or, \@normal_operator, \@normal_value); $sql_where1 .= "and TO_DAYS( NOW( ) ) - TO_DAYS( marc_biblio.datecreated ) <$desc_or_asc" if $orderby =~ "biblio.timestamp"; - $desc_or_asc="DESC" if $orderby="biblio.timestamp"; + $desc_or_asc="DESC" if $orderby eq "biblio.timestamp"; # $offset=0 if $orderby eq "biblio.timestamp"; my $sth; if ($sql_where2) { diff --git a/koha-tmpl/intranet-tmpl/default/en/includes/common-style.css b/koha-tmpl/intranet-tmpl/default/en/includes/common-style.css index 9b4fc9ff6c..ef1f9c6c43 100644 --- a/koha-tmpl/intranet-tmpl/default/en/includes/common-style.css +++ b/koha-tmpl/intranet-tmpl/default/en/includes/common-style.css @@ -135,6 +135,7 @@ td.numberhilighted { border-right : 1px solid Black; } + h1 { color:#000000; background-color:#DDDDDD; @@ -272,7 +273,7 @@ a.resultnumber:hover { a.resultlist { font-weight : bold; - display : block; +/* display : block;*/ padding-left : 5px; } diff --git a/koha-tmpl/intranet-tmpl/default/en/search.marc/result.tmpl b/koha-tmpl/intranet-tmpl/default/en/search.marc/result.tmpl index e5148ede93..80c558a946 100644 --- a/koha-tmpl/intranet-tmpl/default/en/search.marc/result.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/search.marc/result.tmpl @@ -24,13 +24,17 @@ "> - "> -

- - - ; - - - : - ; + "> + vol + : + part +

+ - + - + ; + - + : + ;

class="hilighted">