Skip to content

Commit

Permalink
Rename js-record-list class to js-result-list.
Browse files Browse the repository at this point in the history
  • Loading branch information
EreMaijala committed Aug 17, 2023
1 parent b6d517d commit 2a7b23c
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/AjaxHandler/GetSearchResults.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class GetSearchResults extends \VuFind\AjaxHandler\AbstractBase implements
* @var array
*/
protected $elements = [
'.js-record-list' => [
'.js-result-list' => [
'method' => 'renderResults',
'target' => 'outer',
],
Expand Down
2 changes: 1 addition & 1 deletion themes/bootprint3/css/compiled.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bootstrap3/css/compiled.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bootstrap3/js/search.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*global VuFind */

VuFind.register('search', function search() {
let jsRecordListSelector = '.js-record-list';
let jsRecordListSelector = '.js-result-list';
let paginationLinksSelector = '.js-pagination a,.js-pagination-simple a';
let scrollElementSelector = '.search-stats';
let searchStatsSelector = '.js-search-stats';
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap3/less/components/search.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
}

.js-record-list {
.js-result-list {
position: relative;

// Loading spinner
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap3/scss/components/search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $thumbnail-width-large: 160px;
}
}

.js-record-list {
.js-result-list {
position: relative;

// Loading spinner
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap3/templates/search/results-list.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
$this->resultsClass = 'search-results-' . strtolower($searchClassCss);
// Add any additional classes and attributes:
if ($this->results->getOptions()->loadResultsWithJsEnabled()) {
$this->resultsClass .= ' js-record-list';
$this->resultsClass .= ' js-result-list';
if ($this->resultsAttrs) {
if (!($this->resultsAttrs instanceof \Laminas\View\HtmlAttributesSet)) {
throw new \Exception('$this->resultsAttrs must be created with the htmlAttributes view helper');
Expand Down
2 changes: 1 addition & 1 deletion themes/local_theme_example/css/compiled.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/sandal/css/compiled.css

Large diffs are not rendered by default.

0 comments on commit 2a7b23c

Please sign in to comment.