[Koha-bugs] [Bug 21302] New: Link in 780/785 should search for $t in title and $a in author

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 31 16:51:02 CEST 2018


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

            Bug ID: 21302
           Summary: Link in 780/785 should search for $t in title and $a
                    in author
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: MARC Bibliographic data support
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org

When a record has a 780 and/or 785 field with both $a and $t, the link should
search for the value in $a in the author index and the value in $t in the title
index, combined with AND. Right now, it searches for both in the title index.

Steps to reproduce:
1- If its not already in your cataloguing framework, add 780 $a and $t and 785
$a and $t (check the "Editor" box)
2- Search for a record and edit it
3- Add an author name in 780 $a and 785 $a
4- Add a title in 780 $t and 785 $t
5- Make sure both indicators for both fields are 0, so it should look like 

780 00 $aAuthor1 $tTitle1
785 00 $aAuthor2 $tTitle2

6- Save the record and view it in "normal" view
7- Click the link created for Author1 Title 1 -> the search is ti,phr:Author1
Title1, but it should be au,phr:Author1 and ti,phr:Title1
8- Repeat step 7 with Author2 Title2, same result

If possible, it would be great if all values were searched in their rightful
index with "and" in between to narrow the search.

76X - 78X
$a = author (same as 1XX or 7XX)
$d = publisher, publication date or place (same as 260 $a, $b, $c or 264 $a,
$b, $c)
$e = language (same as 008/35-37)
$f = publication place (same as 008/15-17)
$k = series (same as 4XX or 8XX)
$o = identifier number (same as 0XX)
$p = title (same as 210)
$s = uniform title (same as 240 or 243)
$t = title (same as 245 or 130)
$u = report number (same as 027)
$x = issn (same as 022)
$y = coden (same as 030)
$z = isbn (same as 020)

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list