[Koha-bugs] [Bug 4841] New: Advanced search returns 0 results if the itemtype have no items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 1 03:53:39 CEST 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4841

           Summary: Advanced search returns 0 results if the itemtype have
                    no items
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Searching
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: altiraboschi at yahoo.com.ar
         QAContact: koha-bugs at lists.koha-community.org
   Estimated Hours: 0.0


When you specify the item type of that you’re searching, advanced search seeks
on the subfield 952$y. So, if you do not have items, the search returns 0
results.  

You can modify two templates in such a way that the criteria of search were the
subfield 942$c:

/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/modules/catalogue/advsearch.tmpl
/usr/share/koha/opac/htdocs/opac-tmpl/prog/en/modules/opac-advsearch.tmpl

In these files you should change     mc-<!-- TMPL_VAR NAME="ccl" -->       with
      itemtype

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list