This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* změna odkazu v tabulce při vracení z podrobností o čtenáři na půjčování */ | |
$("#checkedintable .ci-patron a").each(function() { | |
var patronDetailHref = $(this).attr("href"); | |
patronDetailHref = patronDetailHref.replace("members/moremember","circ/circulation"); | |
$(this).attr("href",patronDetailHref); | |
}); | |
/* konec kódu pro změnu odkazu v tabulce vracení */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* autocomplete jako nápověda pro indikátory */ | |
indicators = { | |
"028": { | |
"1": [ | |
{ | |
"value": "0", | |
"label": "0 - Vydavatelské číslo" | |
}, | |
{ | |
"value": "1", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* přejmenování záložek v katalogizaci */ | |
$(document).ready(function() { | |
$("#addbibliotabs li:nth-child(1) a").text("Systém"); | |
$("#addbibliotabs li:nth-child(2) a").text("Autor"); | |
$("#addbibliotabs li:nth-child(3) a").text("Název a vydání"); | |
$("#addbibliotabs li:nth-child(4) a").text("Fyzický popis"); | |
$("#addbibliotabs li:nth-child(5) a").text("Edice"); | |
$("#addbibliotabs li:nth-child(6) a").text("Poznámky"); | |
$("#addbibliotabs li:nth-child(7) a").text("Věcný popis"); | |
$("#addbibliotabs li:nth-child(8) a").text("Vedlejší záhlaví"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Odkaz pro tisk smlouvy */ | |
var baseUrl = "http://koha-usti.knihovna-uo.cz/kcenter2"; | |
var keyStr = "ABCDEFGHIJKLMNOP" + | |
"QRSTUVWXYZabcdef" + | |
"ghijklmnopqrstuv" + | |
"wxyz0123456789+/" + | |
"="; | |
function encode64(input) { | |
input = escape(input); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"op": "core/column-split", | |
"description": "Split column rcislo by field lengths", | |
"engineConfig": { | |
"facets": [], | |
"mode": "row-based" | |
}, | |
"columnName": "rcislo", | |
"guessCellType": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT i.itype, i.ccode, | |
(SELECT COUNT(*) FROM items i2 WHERE i2.dateaccessioned < @From AND i2.homebranch = @Library AND i2.ccode = i.ccode) AS "Počátek", | |
COUNT(*) AS "Přírůstek", | |
(SELECT COUNT(*) FROM items i3 WHERE i3.withdrawn_on BETWEEN @From AND @To AND i3.homebranch = @Library AND i3.ccode = i.ccode) AS "Úbytek", | |
(SELECT COUNT(*) FROM items i4 WHERE i4.dateaccessioned <= @To AND i4.homebranch = @Library AND i4.ccode = i.ccode) AS Konec | |
FROM items i | |
JOIN (SELECT @Library:=<<Knihovna|branches>> COLLATE utf8_unicode_ci, @From:=<<Od|date>>, @To:=<<Do|date>>) as vars | |
WHERE i.homebranch = @Library | |
AND i.dateaccessioned BETWEEN @From AND @To | |
GROUP BY i.itype, i.ccode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE biblio b JOIN biblioitems bi ON b.biblionumber = bi.biblionumber | |
SET b.copyrightdate = SUBSTRING(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(ExtractValue(bi.marcxml, '//datafield[@tag="264"]/subfield[@code="c"]'), "[", ""), "]", ""), "?", ""), "c", ""), "©", ""), "℗", ""), -4) | |
WHERE copyrightdate IS NULL AND frameworkcode = "KN"; | |
SELECT b.frameworkcode, b.biblionumber, b.copyrightdate, | |
SUBSTRING(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(ExtractValue(bi.marcxml, '//datafield[@tag="264"]/subfield[@code="c"]'), "[", ""), "]", ""), "?", ""), "c", ""), "©", ""),"℗", ""), -4) as year | |
FROM biblio b JOIN biblioitems bi ON b.biblionumber = bi.biblionumber | |
WHERE copyrightdate IS NULL | |
LIMIT 10; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /usr/local/vufind2/local/import/marc_local.properties | |
withdrawn_status = 9930 |
OlderNewer