Bug 9300 - filtering Export (MARC) data by accession date does not work
authorJesse Weaver <pianohacker@gmail.com>
Mon, 3 Jun 2013 19:22:57 +0000 (13:22 -0600)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 7 Jun 2013 15:41:31 +0000 (08:41 -0700)
Small typo in query construction, fixed.

To test:
1) Try filtering a MARC export using "Start date"
2) Notice the lack of filtering
3) Apply patch
4) Try export again, records are filtered by dateaccessioned

Signed-off-by: Cedric Vita <cedric.vita@dracenie.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
tools/export.pl

index 0e05e3a..40c3b9b 100755 (executable)
@@ -518,7 +518,7 @@ sub construct_query {
             my $branch               = $params->{branch};
             my $start_callnumber     = $params->{start_callnumber};
             my $end_callnumber       = $params->{end_callnumber};
-            my $start_accession      = $params->{star_accession};
+            my $start_accession      = $params->{start_accession};
             my $end_accession        = $params->{end_accession};
             my $itemtype             = $params->{itemtype};
             my $items_filter =