#154 ✓resolved
Kieran P

Adding basket with domain name acts as site basket

Reported by Kieran P | January 12th, 2009 @ 02:51 PM | in 1.3 (closed)

When you add a basket with the same name as the domain, it starts acting like a site basket.



basket name: test

Comments and changes to this ticket

  • Walter McGinnis

    Walter McGinnis March 9th, 2009 @ 02:58 PM

    • State changed from “new” to “open”
    • Milestone changed from 1.2 to 1.3

    Essentially what happens is that the domain and the basket urlified name both are in the OAI identifier element in the XML that is fed to the search engine.

    When we limit our searches to "only items within this basket", it is actually adding a clause to the search that says "only return items with basket.urlified_name in the OAI identifier element". The problem is that when basket.urlfied_name also matches the site's domain name, then all items match. The PqfQuery#exact_match_for_part_of_oai_identifier needs to be modified to be a bit more picky by perhaps appending the delimiter colons. Will need to investigate.

    At anyrate, this is a rare case and seems like it can wait. Pushing to 1.3.

  • Walter McGinnis

    Walter McGinnis March 30th, 2009 @ 01:01 PM

    • Tag changed from baskets, browse, bug to extended fields, baskets, browse, bug, choices, search, zebra

    One cause is that Zebra, at least the version that Kete uses, seems to strip the delimiter colons from the search terms.

    This also causes searching by extended field to be overly "greedy" since we expect our results to only match ":TheChoice:" which is how store choices in our XML, but it actually matches any instance "TheChoice".

  • Walter McGinnis

    Walter McGinnis April 8th, 2009 @ 08:48 PM

    • State changed from “open” to “resolved”

    Fixed in 1-3-prep-work, along with #69.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Kete was developed by Horowhenua Library Trust and Katipo Communications Ltd. to build a digital library of Horowhenua material.

People watching this ticket

Referenced by