Refactored search table handling so that existing searches are updated instead...
Refactored search table handling so that existing searches are updated instead of deleting and creating new ones. - Fixed duplicate search elimination to not consider extra url parameters such as page. - Added a simple checksum to search table rows so that duplicate elimination does not have to go through potentially all searches in current sessions history. - Added a database upgrade that adds checksums to saved search rows.
Showing
- module/VuFind/sql/migrations/pgsql/3.0/004-modify-seach-columns.sql 7 additions, 0 deletions...ind/sql/migrations/pgsql/3.0/004-modify-seach-columns.sql
- module/VuFind/sql/mysql.sql 2 additions, 1 deletionmodule/VuFind/sql/mysql.sql
- module/VuFind/sql/pgsql.sql 2 additions, 1 deletionmodule/VuFind/sql/pgsql.sql
- module/VuFind/src/VuFind/Controller/AbstractSearch.php 1 addition, 1 deletionmodule/VuFind/src/VuFind/Controller/AbstractSearch.php
- module/VuFind/src/VuFind/Controller/UpgradeController.php 32 additions, 0 deletionsmodule/VuFind/src/VuFind/Controller/UpgradeController.php
- module/VuFind/src/VuFind/Db/Table/Search.php 49 additions, 24 deletionsmodule/VuFind/src/VuFind/Db/Table/Search.php
Please register or sign in to comment