Lines 21-38
Link Here
|
21 |
// Filters that are active |
21 |
// Filters that are active |
22 |
var activeFilters = {}; |
22 |
var activeFilters = {}; |
23 |
|
23 |
|
24 |
// Date format for datepickers |
|
|
25 |
var dateMap = { |
26 |
dmydot: 'dd.mm.yy', |
27 |
iso: 'yy-mm-dd', |
28 |
metric: 'dd/mm/yy', |
29 |
us: 'mm/dd/yy' |
30 |
}; |
31 |
var dateFormat = dateMap['[% Koha.Preference('dateformat') %]']; |
32 |
$('#illfilter_dateplaced, #illfilter_datemodified').datepicker( |
33 |
'option', 'dateFormat', dateFormat |
34 |
); |
35 |
|
36 |
// Fields we don't want to display |
24 |
// Fields we don't want to display |
37 |
var ignore = [ |
25 |
var ignore = [ |
38 |
'accessurl', |
26 |
'accessurl', |
39 |
- |
|
|