Uploaded image for project: 'mod-inventory'
  1. mod-inventory
  2. MODINV-506

'NOT holdings.discoverySuppress==true' search excludes instances that have non-suppressed holdings

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P1
    • Resolution: Won't Do
    • None
    • None
    • Prokopovych - Sprint 129
    • Prokopovych
    • Cornell, TAMU

    Description

      Overview:
      Steps to Reproduce:

      Summary:

      Search for an instance that has two holdings.  One of the holdings should be suppressed from discovery.

      Steps:
      1. Log into juniper bugfest as any user
      2. Go to the inventory module
      3. Perform an instance 'query' search using this query:
      4. title=Taishun ding bu long and (id=* NOT discoverySuppress==true NOT holdingsRecords.discoverySuppress==true)

      Expected Results:

      One instance should be returned: hrid# in11620128
      Actual Results:

      Zero instances are returned.

      If you 'un-suppress' the suppressed holding record (so both holdings are un-suppressed), the instance is returned.

      These results can also be seen with this graphql query:
       

       {"query": "query {instance_storage_instances
      (query: \"title=Taishun ding bu long and (id=* 
      NOT discoverySuppress==true 
      NOT holdingsRecords.discoverySuppress==true) \") 
      {totalRecords instances {id title holdingsRecords2
      {id instanceId callNumber}}}}"}
       
      

       

      This query should return one instance and one holding record and an empty result is what is being returned.  This impacts the z39.50 results when configured to exclude suppressed holdings.

      Additional Information:
      URL:
      Interested parties:

      -----

      Update by charlotte :

      *Following query: title=Taishun ding bu long and id= NOT discoverySuppress==true NOT holdingsRecords.discoverySuppress==true using the Query search option in Bugfest Juniper  does not return any result:

      URL: https://bugfest-juniper.folio.ebsco.com/inventory?qindex=querySearch&query=title%3DTaishun%20ding%20bu%20long%20and%20id%3D%2A%20NOT%20discoverySuppress%3D%3Dtrue%20NOT%20holdingsRecords.discoverySuppress%3D%3Dtrue&sort=title

      the same query in Bugfest Kiwi do:

      URL: https://bugfest-kiwi.folio.ebsco.com/inventory?qindex=querySearch&query=title%3DTaishun%20ding%20bu%20long%20and%20id%3D%2A%20NOT%20discoverySuppress%3D%3Dtrue%20NOT%20holdingsRecords.discoverySuppress%3D%3Dtrue&segment=holdings&sort=title

       

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                msuranofsky Michelle Suranofsky
                Votes:
                0 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases