Julian Maurice [Wed, 7 Mar 2012 08:29:21 +0000 (09:29 +0100)]
Merge remote-tracking branch 'origin/dev/solr' into dev/stetienne
Julian Maurice [Wed, 7 Mar 2012 08:25:53 +0000 (09:25 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8362' into dev/solr
Solved conflicts:
authorities/blinddetail-biblio-search.pl
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tmpl
Julian Maurice [Fri, 25 Nov 2011 12:41:18 +0000 (13:41 +0100)]
MT8362: Squash of 3 commits:
MT8362: auth_finder.pl: improve multiple subfields management
Before this patch, choosing an authority which have multiple subfields
with the same tag, values were joined in a single subfield, seperating
values with a pipe ('|').
Now, if an authority has for example two $x subfields, there will be two
$x subfields in the biblio too. The exception is when the subfield is
not repeatable in the biblio marc framework. In this case, only the
first subfield is copied.
----
MT8362: auth_finder: fix multiple subfields order
----
MT8362: auth_finder.pl: insert fields ordered
Two new javascript functions:
- clear_field: remove cloned subfield and blank all others
- add_subfield: add a new subfield to specified field
blinddetail-biblio-search.pl behaviour is modified to use these two
functions in order to have authority subfields inserted in correct order
(they are no more grouped by subfield tag)
Julian Maurice [Tue, 31 Jan 2012 14:06:59 +0000 (15:06 +0100)]
MT8831: Fix a hash key name in opac-search.pl
getItemsInfos returns a hash with a 'availablecount' key, not
'available_count'
When hidenoitems is ON, it hides everything since equality comparison
with 0 returns true
(cherry picked from commit
7b1d61b478a726f14cfefa0471d7781236d37e70)
Julian Maurice [Mon, 5 Mar 2012 09:25:31 +0000 (10:25 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8884' into dev/solr
Claire Hernandez [Thu, 1 Mar 2012 12:37:17 +0000 (13:37 +0100)]
Merge remote-tracking branch 'remotes/origin/solr/ft/rpn2solr' into dev/solr
Julian Maurice [Wed, 15 Feb 2012 13:04:05 +0000 (14:04 +0100)]
MT8884: Fix merge_authority.pl
'use Storable' in merge_authority.pl, otherwise 'retrieve' does not
work.
Pass the full filepath to retrieve, otherwise it will only work if the
script is launched from tmp/modified_authorities directory
+ use warnings
+ warn if unlink fails
Claire Hernandez [Wed, 29 Feb 2012 10:29:29 +0000 (11:29 +0100)]
Merge remote-tracking branch 'origin/dev/solr' into dev/stetienne
Claire Hernandez [Wed, 29 Feb 2012 10:21:56 +0000 (11:21 +0100)]
MT8636 display opac description in ccode limit
Julian Maurice [Wed, 29 Feb 2012 08:09:52 +0000 (09:09 +0100)]
Merge remote-tracking branch 'origin/dev/solr' into dev/stetienne
Jonathan Druart [Tue, 28 Feb 2012 14:32:11 +0000 (15:32 +0100)]
[SOLR] RPN2Solr: MT9041: FIX Z3950 crash
Now, the z3950 server raise an error when the query is not parsed in
15 seconds
Jonathan Druart [Tue, 28 Feb 2012 09:05:36 +0000 (10:05 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8981' into dev/solr
Jonathan Druart [Tue, 28 Feb 2012 09:00:49 +0000 (10:00 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8577' into dev/solr
Julian Maurice [Mon, 27 Feb 2012 16:17:53 +0000 (17:17 +0100)]
Merge remote-tracking branch 'origin/stetienne/ft/MT6927' into dev/stetienne
Julian Maurice [Mon, 27 Feb 2012 09:40:07 +0000 (10:40 +0100)]
[SOLR] MT8577: Authorities search, 'order by' choice
- Remove 'None' option: when selected, results are order by relevance,
so it is useless
- Add 'Name desc' and 'Usage asc' (and rename 'Name' to 'Name asc' and
'Usage' to 'Usage desc') in "Search main heading" tab
Julian Maurice [Wed, 22 Feb 2012 12:41:02 +0000 (13:41 +0100)]
Merge remote-tracking branch 'origin/stetienne/ft/MT8261' into dev/stetienne
Solved conflicts:
C4/Reserves.pm
Jonathan Druart [Wed, 22 Feb 2012 11:14:53 +0000 (12:14 +0100)]
[SOLR] Search: Followup Disable submit button after click
Move from .js to .inc for translate processing
Julian Maurice [Wed, 22 Feb 2012 08:13:30 +0000 (09:13 +0100)]
Merge remote-tracking branch 'origin/dev/solr' into dev/stetienne
Julian Maurice [Tue, 21 Feb 2012 16:49:46 +0000 (17:49 +0100)]
MT8720: Replace '&' by '%26' in redirect url (renewscript.pl)
'&' in JSON string can cause JSON parser errors
Jonathan Druart [Tue, 21 Feb 2012 13:31:42 +0000 (14:31 +0100)]
[SOLR]MT8577: auth search: select the name index by default
Julian Maurice [Tue, 21 Feb 2012 16:00:31 +0000 (17:00 +0100)]
MT8261: Follow-up CanItemBeReserved in reserve/renewscript.pl
Tell CanItemBeReserved that it's called after AddReturn
Julian Maurice [Tue, 21 Feb 2012 15:39:54 +0000 (16:39 +0100)]
MT6927: Fix in circ/returns.pl
Don't tell ModReserveAffect that there is a transfer to do if
HoldNextInLibrary is ON
Jonathan Druart [Tue, 21 Feb 2012 09:13:33 +0000 (10:13 +0100)]
Merge remote-tracking branch 'origin/solr/ft/indexqueue' into dev/solr
Jonathan Druart [Mon, 20 Feb 2012 13:14:05 +0000 (14:14 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8735' into dev/solr
Jonathan Druart [Mon, 20 Feb 2012 12:43:07 +0000 (13:43 +0100)]
Merge remote-tracking branch 'origin/solr/ft/rpn2solr' into dev/solr
Jonathan Druart [Mon, 20 Feb 2012 12:42:10 +0000 (13:42 +0100)]
Merge remote-tracking branch 'origin/solr/ft/optim' into dev/solr
Jonathan Druart [Mon, 20 Feb 2012 10:13:27 +0000 (11:13 +0100)]
RPN2Solr: Adds logging for z3950 server
Jonathan Druart [Mon, 20 Feb 2012 10:10:04 +0000 (11:10 +0100)]
RPN2Solr: FIX Remove warnings
FIX Subroutine init_handler redefined
FIX Argument "th-en3s" isn't numeric in numeric eq (==) at C4/Search/Query.pm line 101.
Jonathan Druart [Mon, 20 Feb 2012 11:02:00 +0000 (12:02 +0100)]
Optim: Followup FIX Optim JS
FIX tags
Jonathan Druart [Mon, 20 Feb 2012 10:33:28 +0000 (11:33 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8907' into dev/solr
Conflicts solved:
installer/data/mysql/en/mandatory/sysprefs.sql
installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
installer/data/mysql/updatedatabase.pl
kohaversion.pl
Jonathan Druart [Wed, 15 Feb 2012 12:53:46 +0000 (13:53 +0100)]
(SOLR] IndexQueue: FIX mode on pid file
the pid file must be in mode 666 (www-data have to write into it else
caused an error from the App:Daemon module ("recordqueue.pid not writable
by user www-data"))
Claire Hernandez [Wed, 15 Feb 2012 17:23:40 +0000 (18:23 +0100)]
[SOLR] installer mappings config
Jonathan Druart [Wed, 15 Feb 2012 14:01:59 +0000 (15:01 +0100)]
[SOLR]MT8735: Followup Perfs disconnect mysql connections after end of script
If we call disconnect unless close all sth, we get a warning.
The doc say:
"This method disconnects the database from the database handle. Normally
called just before exiting the application. If you call this method
while there are active statement handles you will get a warning. Use the
finish method ($sth->finish) for each statement handle defined."
There is ~1000 sth without finish in Koha :-/
Claire Hernandez [Wed, 15 Feb 2012 10:48:47 +0000 (11:48 +0100)]
Merge remote-tracking branch 'origin/dev/solr' into dev/stetienne
Jonathan Druart [Wed, 15 Feb 2012 10:47:18 +0000 (11:47 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT9006' into dev/solr
Claire Hernandez [Wed, 15 Feb 2012 10:38:39 +0000 (11:38 +0100)]
Merge remote-tracking branch 'origin/dev/solr' into dev/stetienne
Julian Maurice [Wed, 15 Feb 2012 10:14:39 +0000 (11:14 +0100)]
Merge remote-tracking branch 'origin/solr/ft/indexqueue' into dev/solr
Jonathan Druart [Tue, 14 Feb 2012 11:49:42 +0000 (12:49 +0100)]
[SOLR] IndexQueue: FIX exit if error in thread
Jonathan Druart [Tue, 14 Feb 2012 10:07:36 +0000 (11:07 +0100)]
[SOLR] Indexqueue : FIX add blocking
We can't wait on a "add" if Solr is indexing
Jonathan Druart [Tue, 14 Feb 2012 09:58:28 +0000 (10:58 +0100)]
Revert "[SOLR] IndexRecordQueue modification"
This reverts commit
529a024b3116c8113054571a0d3725884e42a349.
We have to sleep after read each line. Else we can't easily adjusting
with parameters max_delta, max_records and max_interval
Claire Hernandez [Mon, 13 Feb 2012 17:07:16 +0000 (18:07 +0100)]
Merge remote-tracking branch 'origin/dev/solr' into dev/stetienne
Julian Maurice [Mon, 13 Feb 2012 13:10:00 +0000 (14:10 +0100)]
MT9006: DB connection loss: process_koc.pl
Due to a fork and the end of parent before child end, dbh can be closed
by the parent in the middle of a query executed by the child, causing
connection problems.
The fix is to explicitly close db connection at beginning of child
process to force C4::Context->dbh to create a new handle
Julian Maurice [Mon, 13 Feb 2012 13:05:44 +0000 (14:05 +0100)]
MT9006: DB connection loss: manage-marc-import.pl
Due to a fork and the end of parent before child end, dbh can be closed
by the parent in the middle of a query executed by the child, causing
connection problems.
The fix is to explicitly close db connection at beginning of child
process to force C4::Context->dbh to create a new handle
Jonathan Druart [Mon, 13 Feb 2012 12:49:16 +0000 (13:49 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8600' into dev/solr
Jonathan Druart [Mon, 13 Feb 2012 12:48:08 +0000 (13:48 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8745' into dev/solr
Jonathan Druart [Mon, 13 Feb 2012 12:47:00 +0000 (13:47 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8615' into dev/solr
Julian Maurice [Mon, 13 Feb 2012 12:44:14 +0000 (13:44 +0100)]
MT8691: Add syspref AuthSubfieldsToCheck
This syspref is used in BiblioAddAuthority, it contains a
space-separated list of subfields to check to determine if an authority
is equivalent to fields entered by user
Jonathan Druart [Mon, 13 Feb 2012 10:47:43 +0000 (11:47 +0100)]
Merge remote-tracking branch 'origin/solr/ft/optim' into dev/solr
Jonathan Druart [Mon, 13 Feb 2012 10:00:01 +0000 (11:00 +0100)]
MT8907: new OPACNoResultsFound pref
This patch adds a new preference to allow librarians to
add content to the no results found page if they want.
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Changed surrounding <p> in template to <div id="noresultsfound">
Will send follow up patch adding sys pref to translated sql files
CF BZ1997
Julian Maurice [Fri, 10 Feb 2012 14:57:24 +0000 (15:57 +0100)]
MT9006: DB connection loss: stage-marc-import.pl
Due to a fork and the end of parent before child end, dbh can be closed
by the parent in the middle of a query executed by the child, causing
connection problems.
The fix is to explicitly close db connection at beginning of child
process to force C4::Context->dbh to create a new handle
Jonathan Druart [Thu, 9 Feb 2012 16:09:22 +0000 (17:09 +0100)]
Optim: Followup FIX Optim JS
FIX Bookbag
Jonathan Druart [Tue, 7 Feb 2012 13:02:17 +0000 (14:02 +0100)]
MT8600: Display itemtype icon for previous checkouts
Julian Maurice [Wed, 8 Feb 2012 08:58:49 +0000 (09:58 +0100)]
Merge remote-tracking branch 'origin/dev/solr' into dev/stetienne
Solved conflicts:
C4/Auth_with_cas.pm
Julian Maurice [Wed, 8 Feb 2012 08:52:58 +0000 (09:52 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8501' into dev/solr
Julian Maurice [Wed, 8 Feb 2012 08:51:30 +0000 (09:51 +0100)]
Merge remote-tracking branch 'origin/stetienne/ft/MT8698' into dev/stetienne
Jonathan Druart [Tue, 17 Jan 2012 14:56:58 +0000 (15:56 +0100)]
MT8698: FIX budget's selection on neworderempty
Matthias Meusburger [Tue, 7 Feb 2012 10:34:06 +0000 (11:34 +0100)]
MT8261: Prevent CanItemBeReserved from checking if the book is on loan when on shelf holds are not allowed and CanItemBeReserved is called after AddReturn.
CanItemBeReserved used to return always false in this context,
preventing reserves to be displayed on returns.
This bug was introduced by:
commit
adcf8f00ca1b81e51bf47e1b4e33dd92780267e4
Author: Julian Maurice <julian.maurice@biblibre.com>
Date: Tue Sep 27 15:45:55 2011 +0200
MT7914: Check if item can be reserved in returns.pl too
Jonathan Druart [Tue, 7 Feb 2012 14:36:25 +0000 (15:36 +0100)]
[SOLR] Add a new search format for date
now, you can select an index and search with (1984 OR 1990 OR 2001).
See Unit Tests for more details.
Matthias Meusburger [Tue, 7 Feb 2012 10:34:06 +0000 (11:34 +0100)]
MT8261: Prevent CanItemBeReserved from checking if the book is on loan when on shelf holds are not allowed and CanItemBeReserved is called after AddReturn.
CanItemBeReserved used to return always false in this context,
preventing reserves to be displayed on returns.
This bug was introduced by:
commit
adcf8f00ca1b81e51bf47e1b4e33dd92780267e4
Author: Julian Maurice <julian.maurice@biblibre.com>
Date: Tue Sep 27 15:45:55 2011 +0200
MT7914: Check if item can be reserved in returns.pl too
Julian Maurice [Wed, 1 Feb 2012 08:46:19 +0000 (09:46 +0100)]
Merge remote-tracking branch 'origin/dev/solr' into dev/stetienne
Julian Maurice [Wed, 1 Feb 2012 08:44:11 +0000 (09:44 +0100)]
[SOLR] Fix kohaversion
Julian Maurice [Wed, 1 Feb 2012 08:10:57 +0000 (09:10 +0100)]
Merge remote-tracking branch 'origin/dev/solr' into dev/stetienne
Solved conflicts:
installer/data/mysql/en/mandatory/sysprefs.sql
installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
installer/data/mysql/updatedatabase.pl
Julian Maurice [Wed, 1 Feb 2012 08:04:19 +0000 (09:04 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8735' into dev/solr
Julian Maurice [Fri, 27 Jan 2012 08:59:26 +0000 (09:59 +0100)]
MT4587: Add missing sysprefs
hidenoitems in updatedatabase.pl and sysprefs.sql files (en and fr)
OpacHiddenItems in sysprefs.sql files (en and fr)
(cherry picked from commit
b626f557b132ef057fe9ed36f881f50771f4efe6)
Solved Conflicts:
installer/data/mysql/en/mandatory/sysprefs.sql
installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
installer/data/mysql/updatedatabase.pl
Julian Maurice [Thu, 26 Jan 2012 14:36:55 +0000 (15:36 +0100)]
MT8887: Fix call to SimpleSearch in acqui/tables/orders.pl
Jonathan Druart [Wed, 7 Sep 2011 14:06:40 +0000 (16:06 +0200)]
MT7667: Store in uppercase member surnames
(cherry picked from commit
278fd5e3613ba1f5ce26a8c24c535c888f41c73d)
Claire Hernandez [Wed, 25 Jan 2012 10:35:44 +0000 (11:35 +0100)]
Merge remote-tracking branch 'origin/dev/solr' into dev/stetienne
Julian Maurice [Tue, 24 Jan 2012 14:40:11 +0000 (15:40 +0100)]
MT8654: Check 100$a pos 28-29 to detect encoding
Julian Maurice [Wed, 25 Jan 2012 09:15:37 +0000 (10:15 +0100)]
Merge remote-tracking branch 'origin/dev/solr' into dev/stetienne
Julian Maurice [Wed, 25 Jan 2012 09:10:38 +0000 (10:10 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT7654' into dev/solr
Julian Maurice [Wed, 25 Jan 2012 09:08:09 +0000 (10:08 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8746' into dev/solr
Jonathan Druart [Tue, 17 Jan 2012 13:58:09 +0000 (14:58 +0100)]
[SOLR] MT8746: Perfs: Exit after redirect to opac maintenance
Julian Maurice [Wed, 25 Jan 2012 09:07:13 +0000 (10:07 +0100)]
Merge remote-tracking branch 'origin/solr/ft/optim' into dev/solr
Julian Maurice [Tue, 24 Jan 2012 15:32:08 +0000 (16:32 +0100)]
[SOLR] IndexRecordQueue modification
Sleep only if there is nothing to read from file
Julian Maurice [Tue, 24 Jan 2012 15:27:00 +0000 (16:27 +0100)]
[SOLR] IndexRecordQueue modification
Re-read the file from the beginning after each call to
remove_indexed_records
It permits to avoid read errors
Jonathan Druart [Thu, 19 Jan 2012 13:30:44 +0000 (14:30 +0100)]
[SOLR] Fix call to SimpleSearch in C4::RPN2SOLR
Julian Maurice [Wed, 18 Jan 2012 08:38:51 +0000 (09:38 +0100)]
Merge remote-tracking branch 'origin/dev/solr' into dev/stetienne
Solved conflicts:
acqui/neworderbiblio.pl
installer/data/mysql/updatedatabase.pl
kohaversion.pl
Matthias Meusburger [Fri, 30 Dec 2011 10:26:50 +0000 (11:26 +0100)]
MT8501: Fix parameters handling for CAS login
Julian Maurice [Tue, 17 Jan 2012 13:38:25 +0000 (14:38 +0100)]
MT8745: Do not require serials permission for subscription-bib-search.pl
Julian Maurice [Tue, 17 Jan 2012 12:57:09 +0000 (13:57 +0100)]
[SOLR] Rename a variable to prevent Perl warnings
Jonathan Druart [Mon, 16 Jan 2012 13:15:47 +0000 (14:15 +0100)]
[SOLR]MT8735: Perfs disconnect mysql connections after end of script
Jonathan Druart [Mon, 16 Jan 2012 12:18:21 +0000 (13:18 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8702' into dev/solr
Jonathan Druart [Mon, 16 Jan 2012 12:17:06 +0000 (13:17 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8627' into dev/solr
Claire Hernandez [Fri, 13 Jan 2012 16:56:26 +0000 (17:56 +0100)]
Merge remote-tracking branch 'remotes/origin/solr/ft/cronjobs' into dev/solr
Jonathan Druart [Thu, 12 Jan 2012 15:51:23 +0000 (16:51 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8621' into dev/solr
Jonathan Druart [Thu, 12 Jan 2012 15:50:12 +0000 (16:50 +0100)]
[SOLR] Followup: Search: Disable submit button after click
FIX: Delete useless call to js function
Julian Maurice [Thu, 12 Jan 2012 15:37:45 +0000 (16:37 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8621' into dev/solr
Julian Maurice [Thu, 12 Jan 2012 15:36:32 +0000 (16:36 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8552' into dev/solr
Julian Maurice [Thu, 12 Jan 2012 15:35:07 +0000 (16:35 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT7494' into dev/solr
Jonathan Druart [Thu, 12 Jan 2012 11:36:24 +0000 (12:36 +0100)]
[SOLR] Search: Disable submit button after click
Preventing double form submission on search (opac and intranet)
Jonathan Druart [Wed, 11 Jan 2012 11:10:01 +0000 (12:10 +0100)]
[SOLR] MT8702: BZ6627: Update to improve security in specified log files
BZ6627 Adapted patch
Jonathan Druart [Wed, 11 Jan 2012 09:59:02 +0000 (10:59 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8572' into dev/solr
Jonathan Druart [Wed, 11 Jan 2012 09:46:34 +0000 (10:46 +0100)]
Merge remote-tracking branch 'origin/solr/ft/MT8579' into dev/solr
Jonathan Druart [Wed, 11 Jan 2012 09:39:06 +0000 (10:39 +0100)]
Merge remote-tracking branch 'origin/solr/ft/traces' into dev/solr
Conflicts solved:
C4/Search/Engine/Solr.pm
Jonathan Druart [Wed, 11 Jan 2012 09:33:15 +0000 (10:33 +0100)]
Merge remote-tracking branch 'origin/solr/ft/optim' into dev/solr
Conflicts solved:
C4/Data/Record/Check.pm
C4/Matcher.pm
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tmpl
Julian Maurice [Tue, 10 Jan 2012 14:55:57 +0000 (15:55 +0100)]
MT7654: dedup_authorities: add he-main to the list of "good indexes"
The query is now executed only if it contains at least one of the
following indexes: he, he-main, ppn
Claire Hernandez [Mon, 9 Jan 2012 17:38:05 +0000 (18:38 +0100)]
Merge remote-tracking branch 'origin/dev/solr' into dev/stetienne
Julian Maurice [Mon, 9 Jan 2012 13:22:44 +0000 (14:22 +0100)]
MT8261: Fix CanBookBeReserved
CanBookBeReserved now returns 0 if called with a branchcode and if at
least one item in this branch is available (and if on-shelf holds are
not allowed)
Henri-Damien LAURENT [Fri, 17 Jun 2011 20:55:37 +0000 (22:55 +0200)]
[SOLR] Adding sqlwhere for UNIMARC_sync_date_created
This allows to synchronise dates into some local use fields
On a little scale and not the entire database :
*** Adding 099$c and $d where there is none
perl misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl \
--run --where \
"Extractvalue(marcxml,'count(//datafield[@tag=\"099\"]/subfield[@code=\"c\" or @code=\"d\"])')=0"
*** updating 099$c and $d where they are not synched
perl misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl \
--run --where \
"Extractvalue(marcxml,'//datafield[@tag=\"099\"]/subfield[@code=\"c\"]')<>biblio.datecreated"
perl misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl \
--run --where \
"Extractvalue(marcxml,'//datafield[@tag=\"099\"]/subfield[@code=\"d\"]')<>biblio.timestamp"
*** One can even use LIMIT parameter in order to test
perl misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl \
--run --where \
"Extractvalue(marcxml,'//datafield[@tag=\"099\"]/subfield[@code=\"d\"]')<>biblio.timestamp LIMIT 50"
(cherry picked from commit
0bbfe79d15210ba70944879719565bd9ad7c902c)
Jonathan Druart [Thu, 5 Jan 2012 10:34:02 +0000 (11:34 +0100)]
MT8627: Add xslt "functions" in UNIMARCslimUtils.xsl to escape solr string
example:
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=se:"<xsl:call-template name="escape_solr_char">
<xsl:with-param name="text"><xsl:value-of select="marc:subfield[@code='t']"/></xsl:with-param>
</xsl:call-template>"</xsl:attribute>
<xsl:value-of select="marc:subfield[@code='t']"/>