https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25603

--- Comment #16 from Mark Hofstetter <[email protected]> ---
we are changing 

Koha/OAI/Server/GetRecord.pm

my ($controlnumber) = $args{identifier} =~ /^$prefix(.*)/;
my ($biblionumber) = $dbh->selectrow_array('select biblionumber from
biblio_metadata where controlnumber = ?', {}, $controlnumber);


    unless ($biblionumber) { 
        return HTTP::OAI::Response->new(
            requestURL  => $repository->self_url(),
            errors      => [HTTP::OAI::Error->new( 
                code    => 'idDoesNotExist', 
                message => "There is no biblio record with this controlnumber",
            )],
        );
    }

I am aware that this not a proper patch which can be applied globally, but it's
good enough (tm) for us at the moment

what we should be used imho

oai:description/oai_id:oai-identifier/oai_id:repositoryIdentifier

is this to define which identifier is to be used in a given koha-instance

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to