View | Details | Raw Unified | Return to bug 4329
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/css/opac.css (+23 lines)
Lines 648-653 input.deleteshelf { Link Here
648
	background-color : #F8F8EB;
648
	background-color : #F8F8EB;
649
}
649
}
650
650
651
/* the shelving location list in advanced search */
652
#advsearch-shelvingloc table {
653
	border-collapse : separate;
654
	border-spacing : 3px;
655
	border : 0px;
656
	margin : 0px;
657
	background-color : white;
658
	border : 0px solid #D8DEB8;
659
}
660
661
#advsearch-shelvingloc table tr td {
662
	background-color : #F8F8EB;
663
	border : 0px;
664
	margin : 0px;
665
	width : 700px;
666
}
667
668
#advsearch-shelvingloc td {
669
	font-size : 0.8em;
670
	background-color : #F8F8EB;
671
}
672
673
651
body#advsearch #breadcrumbs {
674
body#advsearch #breadcrumbs {
652
	line-height : 1px;
675
	line-height : 1px;
653
	height : 1px;
676
	height : 1px;
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl (+14 lines)
Lines 172-177 Link Here
172
                </select></p><!-- <a href="">Show all languages</a>-->
172
                </select></p><!-- <a href="">Show all languages</a>-->
173
<!-- /LANGUAGE LIMIT -->
173
<!-- /LANGUAGE LIMIT -->
174
</fieldset>
174
</fieldset>
175
    <div id="advsearch-shelvingloc" class="container">
176
	<fieldset>
177
    <legend>Limit to any of the following shelving locations:</legend>
178
    <table>
179
        <tr>
180
      <!--TMPL_LOOP Name="shelvinglocsloop"-->
181
        <td><input type="checkbox" id="<!-- TMPL_VAR NAME="ccl" -->-<!--TMPL_VAR Name="number" -->" name="limit" value="mc-<!-- TMPL_VAR NAME="ccl" -->:<!--TMPL_VAR Name="code" -->"/><label for="<!-- TMPL_VAR NAME="ccl" -->-<!--TMPL_VAR Name="number" -->">
182
        <!--TMPL_VAR Name="description" --></label></td>
183
        <!-- TMPL_UNLESS name="count5" --><!-- TMPL_UNLESS name="__last__" --></tr><tr><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS -->
184
      <!--/TMPL_LOOP-->
185
		</tr>
186
    </table>
187
	</fieldset>
188
    </div>
175
    <!--TMPL_IF Name="usmarc"-->
189
    <!--TMPL_IF Name="usmarc"-->
176
        <!-- SUBTYPE LIMITS -->
190
        <!-- SUBTYPE LIMITS -->
177
            <div id="subtypes" class="container"><fieldset>
191
            <div id="subtypes" class="container"><fieldset>
(-)a/opac/opac-search.pl (-1 / +18 lines)
Lines 148-153 $template->param( Link Here
148
my $languages_limit_loop = getAllLanguages();
148
my $languages_limit_loop = getAllLanguages();
149
$template->param(search_languages_loop => $languages_limit_loop,);
149
$template->param(search_languages_loop => $languages_limit_loop,);
150
150
151
# add support for searching by shelving location
152
my @shelvinglocsloop;
153
my $selected=1;
154
my $cnt2;
155
my $shelflocations =GetAuthorisedValues("LOC");
156
for my $thisloc (sort {$a->{'lib'} cmp $b->{'lib'}} @$shelflocations) {
157
    my %row =(
158
                number => $cnt2++,
159
                ccl => 'loc',
160
                code => $thisloc->{authorised_value},
161
                selected => $selected,
162
                description => $thisloc->{'lib'},
163
                count5 => $cnt2 % 4,
164
              );
165
    	$selected = 0; # set to zero after first pass through
166
    push @shelvinglocsloop, \%row;
167
}
168
$template->param(shelvinglocsloop => \@shelvinglocsloop);
151
# load the Type stuff
169
# load the Type stuff
152
my $itemtypes = GetItemTypes;
170
my $itemtypes = GetItemTypes;
153
# the index parameter is different for item-level itemtypes
171
# the index parameter is different for item-level itemtypes
154
- 

Return to bug 4329