HDTN-273708: Sample Mirroring - Link: While trying to manually link the sample, system shows duplicate samples

Issue No: QC-703
Created 6/23/2022 2:10:57 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 22.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-273708 - pre tc-1 issues |https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-273708]   *Pre-Condition:*   * Create a Purchase contract * Create a Sales contract * Allocate both the Purchase and Sales Contract * Create a Sample for the Purchase Contract from the Contract Sequence screen * Create a Sample for the Sales Contract from the Contract Sequence screen ** It will show a message to mirror the sample on creation * Once the sample created, 'Related Sample No' reference will be available in both the samples now   !pastedImage_d188553_0.jpg!   *Steps:*   * Quality -> Sample Entry * Create a new sample for the same sales contract *(S50 - 1)* Ex: Sample No: *QS-95* * Open the saved sample (Ex: *QS-95* ) * Click on Link button in Toolbar * System will open a search screen and it will load all the associated purchase contract ( *P119 - 1* ) samples.   *Issue:*   * System shows duplicate samples in the search grid   *Expectation:*   * System should show unique set of samples which is associated for the allocated purchase contract   !2022-06-15 19_31_46-.png|height=240,width=745!