Bug #13326

Feature #13302: Filter Authority record searches by relationship type

Problem: blank "Related" searches returns both sides of converse relationship

Added by Peter Van Garderen 5 months ago. Updated 4 months ago.

Status:VerifiedStart date:05/20/2020
Priority:MediumDue date:
Assignee:Peter Van Garderen% Done:

0%

Category:Search / Browse
Target version:Release 2.6.0
Google Code Legacy ID: Tested version:
Sponsored:Yes Requires documentation:

Description

Given: School1 "has student" Student 1a, Student1b, Student 1c
And: School2 "has student" Student 2a, Student 2b, Student 2c
And: the converse term for "has student" is "is a student of"
When: using the search filter "Relationship = has student" and "Related authority record" is left blank
Then: the search results include "Student 2c, Student 2b, Student 2a, Student 1c, Student 1b, Student 1a, School 2, School 1"
Whereas: it should just return: "School 2, School 1"

Similarly, When using the search filter "Relationship = is a student of" and "Related authority record" is left blank.
Then: the search results include "Student 2c, Student 2b, Student 2a, Student 1c, Student 1b, Student 1a, School 2, School 1"
Whereas: it should not include: "School 2, School 1"

Searching on self-reciprocal relationships (e.g. is a friend of) successfully returns both sides of the relationship as expected.


Related issues

Related to Access to Memory (AtoM) - Bug #13327: Problem: the relations import CSV should start with the s... Verified 05/20/2020

History

#1 Updated by Peter Van Garderen 5 months ago

  • Description updated (diff)

#2 Updated by Mike Cantelon 5 months ago

  • Status changed from New to Code Review
  • Assignee deleted (Mike Cantelon)

#3 Updated by Mike Cantelon 5 months ago

  • Status changed from Code Review to QA/Review
  • Assignee set to Peter Van Garderen

Merged into qa/2.6.x.

#4 Updated by Peter Van Garderen 5 months ago

  • Status changed from QA/Review to Document

Fixed.

Note the related issue #13327 which may inadvertently put a subject/object in the wrong side of a non-reciprocal relationship resulting in unexpected results when doing one of these blank "related" search queries. However, this not a problem with the query which has been fixed in this last commit. It's just a related issue on how we are writing relationship data on CSV import which should be addressed in #13327.

#5 Updated by Peter Van Garderen 5 months ago

  • Related to Bug #13327: Problem: the relations import CSV should start with the subjectAuthorizedFormOfName column added

#6 Updated by Peter Van Garderen 4 months ago

  • Status changed from Document to Verified

Also available in: Atom PDF