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

            Bug ID: 22548
           Summary: Z39.50/SRU search replaces existing biblios
 Change sponsored?: ---
           Product: Koha
           Version: 18.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Cataloging
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
  Target Milestone: ---

Possibly related, but not the same:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15360

Reproducing:

- Search for a book under "Search the catalog", e.g.
/cgi-bin/koha/catalogue/search.pl?q=movement
- Note the biblionumber of the last book of the first page of the search
results. It's 10624 in my case, and the title is "A political history of early
Christianity".
- Now click "Z39.50/SRU search" in the toolbar (between "Place hold" and
"Sort").
- Click search in the popup window and wait for results.
- Choose any book from the results and click "Actions" -> "Import". In my case
I'm picking a book called "Against capital punishment".
- The popup closes, and the catalog search results tab is directed to
/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=10624&z3950=1&breedingid=411522

Expected behaviour:

- The title of the addbiblio.pl page should be "Add MARC record".
- Clicking "Save" should add a new record to the catalog.

Current behaviour:

- The title of the addbiblio.pl page is "Editing Against capital punishment
[electronic resource] : the anti-death penalty movement in America, 1972-1994 /
Herbert H. Haines. (Record number 10624)". Note that this is the biblionumber
of an existing book. More specifically, the last one from the first page of the
search results mentioned above.
- Clicking "Save" replaces "A political history of early Christianity" with
"Against capital punishment".

Additional information:

Following the same process, but starting on "Cataloging Search" at
/cgi-bin/koha/cataloguing/addbooks.pl instead of "Search the catalog" does NOT
cause this problem, but causes a the MARC record to be imported as a NEW
biblio, as expected.

-- 
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]
http://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