forked from vufind-org/vufind
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refs vufind-org#2999 Add support for result set identifier in Record …
…and Backend classes * Updated `VuFind\View\Helper\Root\Record` to include `ResultSetIdentifier` in the HTML element IDs, ensuring unique and context-aware IDs across templates. * Modified `VuFindTest\View\Helper\Root\RecordTest` to account for the new `ResultSetIdentifier` in tests, ensuring the unique identifier is reflected correctly in different scenarios. * Enhanced `VuFindSearch\Backend\AbstractBackend` by generating and assigning a unique, shorter UUID-like identifier to each record collection using `Laminas\Math\Rand`. * Implemented `setResultSetIdentifier` and `getResultSetIdentifier` methods in `RecordCollectionInterface`, `AbstractRecordCollection`, `RecordInterface`, and `RecordTrait` to manage and retrieve the result set identifiers. * Adjusted `RecordTrait` to include a new `resultSetIdentifier` property with appropriate PHPDoc for easier management and retrieval of unique identifiers per record.
- Loading branch information
Showing
7 changed files
with
105 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters