select database
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 23 Oct 2010 12:53:02 +0000 (14:53 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 23 Oct 2010 12:53:02 +0000 (14:53 +0200)
this allows us to search in different Aleph databases in single
web interface

Aleph.pm

index 0fba91f..b937728 100644 (file)
--- a/Aleph.pm
+++ b/Aleph.pm
@@ -82,6 +82,7 @@ diag "submit search $query";
        $mech->submit_form(
                fields => {
                        'ccl_term' => $query,
+                       'local_base' => $self->{database},
                },
        );