Bugzilla – Attachment 3322 Details for
Bug 3326
xml entity refs display incorrectly in results page if exported and indexed as xml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
follow up patch
bug3326.patch (text/plain), 1.63 KB, created by
Nicole C. Engard
on 2011-03-16 13:31:14 UTC
(
hide
)
Description:
follow up patch
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2011-03-16 13:31:14 UTC
Size:
1.63 KB
patch
obsolete
>From: Jared Camins-Esakov <jcamins@bywatersolutions.com> >To: dev@bywatersolutions.com >Cc: Jared Camins-Esakov <jcamins@bywatersolutions.com> >Subject: [PATCH] Bug 3326: previous fix broke searches when not using -x >Date: Wed, 16 Mar 2011 09:15:58 -0400 >Message-Id: <1300281358-1852-1-git-send-email-jcamins@bywatersolutions.com> >X-Mailer: git-send-email 1.7.2.3 >X-Original-Sender: jcamins@bywatersolutions.com >X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: > 209.85.216.42 is neither permitted nor denied by best guess record for domain > of jcamins@bywatersolutions.com) smtp.mail=jcamins@bywatersolutions.com >Precedence: list >Mailing-list: list dev@bywatersolutions.com; contact dev+owners@bywatersolutions.com >List-ID: <dev.bywatersolutions.com> >X-Google-Group-Id: 274270250429 >List-Help: <http://www.google.com/support/a/bywatersolutions.com/bin/static.py?hl=en_US&page=groups.cs>, > <mailto:dev+help@bywatersolutions.com> >Content-Type: text/plain; charset="utf-8" > >This fix ensures that searches will still work when -x is not used when >reindexing Zebra. >--- > C4/XSLT.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/XSLT.pm b/C4/XSLT.pm >index d602688..2d1facc 100644 >--- a/C4/XSLT.pm >+++ b/C4/XSLT.pm >@@ -140,7 +140,7 @@ sub XSLTParse4Display { > $sysxml .= "</sysprefs>\n"; > $xmlrecord =~ s/\<\/record\>/$itemsxml$sysxml\<\/record\>/; > if ($fixamps) { # We need to correct the ampersand entities that Zebra outputs >- $xmlrecord =~ s/\&/\&/g; >+ $xmlrecord =~ s/\&amp;/\&/g; > } > $xmlrecord =~ s/\& /\&\; /; > $xmlrecord =~ s/\&\;amp\; /\&\; /; >-- >1.7.2.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 3326
:
3301
|
3322
|
3323
|
3463