Bugzilla – Attachment 80861 Details for
Bug 18823
Advanced editor - Rancor - add ability to edit records in import batches
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18823: Search improvements
Bug-18823-Search-improvements.patch (text/plain), 1.45 KB, created by
Cori Lynn Arnold
on 2018-10-18 15:49:55 UTC
(
hide
)
Description:
Bug 18823: Search improvements
Filename:
MIME Type:
Creator:
Cori Lynn Arnold
Created:
2018-10-18 15:49:55 UTC
Size:
1.45 KB
patch
obsolete
>From 0d1994e5fb974b7b0e3c5e6984269d11bef870c4 Mon Sep 17 00:00:00 2001 >From: Cori Lynn Arnold <carnold@dgiinc.com> >Date: Tue, 16 Oct 2018 12:51:50 +0000 >Subject: [PATCH] Bug 18823: Search improvements > >Search can now find titles and keywords with single quotes i.e. "Time >Traveler's Wife" in import batches. > >Tests: > >1) Open advanced cataloging edtior >2) Under settings select 'Import Batches' >3) Create a few import batches, some for searching and some as targets >(and some both) > 3.a) note that import batches for saving appear on the left > side as targets to save >4) Search for a bibliographic record, make changes and apply to > an import batch >5) Search for the bibliographic record in the import batch by > author, title, isbn >6) Make changes to the import batch records and verify the > changes are applied (either through searching again, or through > the Staged MARC management page in Tools) >--- > Koha/MetaSearcher.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/MetaSearcher.pm b/Koha/MetaSearcher.pm >index 161f1d5f17..53c645279c 100644 >--- a/Koha/MetaSearcher.pm >+++ b/Koha/MetaSearcher.pm >@@ -244,7 +244,7 @@ sub _db_query_get_match_conditions { > } elsif ( $_batch_db_text_columns->{$index} ) { > my $stripped_value = $value; > >- $stripped_value =~ s/[^\w]//g; >+ $stripped_value =~ s/[^\w ]/.*/g; > $stripped_value =~ s/^ +| +$//g; > > return $value if ( !$stripped_value ); >-- >2.11.0
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 18823
:
64434
|
66882
|
66883
|
66884
|
66885
|
66919
|
77240
|
77241
|
77242
|
77243
|
77244
|
79240
|
79241
|
79242
|
79243
|
79244
|
80519
|
80536
|
80604
|
80606
|
80608
|
80613
|
80626
|
80627
|
80628
|
80637
|
80639
|
80651
|
80861
|
80866
|
80868
|
80869
|
80870
|
80871
|
80872
|
80873
|
80947
|
85355
|
85356
|
85357
|
85358
|
85359
|
85376
|
85719
|
85720
|
85785
|
85828
|
86087
|
86173
|
86174
|
86175
|
86176
|
86177
|
86178
|
86179
|
86180
|
86181
|
86182
|
86183
|
86791
|
86792
|
86793
|
86794
|
86795
|
86796
|
86797
|
86798
|
86799
|
88417
|
88418
|
88419
|
88420
|
88421
|
88422
|
88423
|
88424
|
88425
|
88426
|
88427
|
88428
|
88429
|
88430
|
88431
|
88432
|
88493
|
88494
|
88495
|
88496
|
88497
|
88498
|
88499
|
88500
|
88501
|
88502
|
88503
|
88504
|
88505
|
88506
|
88507
|
88508
|
91205
|
91206
|
91207
|
91208
|
91209
|
91210
|
91211
|
91212
|
91213
|
91214
|
91215
|
91216
|
91217
|
91218
|
91219
|
92051
|
92120
|
92124
|
94436
|
94437
|
94438
|
94439
|
94440
|
94441
|
94442
|
94443
|
94444
|
94445
|
94446
|
94447
|
94448
|
94449
|
94450
|
94451
|
94452
|
99092
|
99093
|
99094
|
99095
|
99096
|
99097
|
99098
|
99099
|
99100
|
99101
|
99102
|
99103
|
99104
|
99105
|
99106
|
99107
|
99108
|
99109