Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release-10.1' into release-10.1-…
Browse files Browse the repository at this point in the history
…fix-theme-selector
  • Loading branch information
demiankatz committed Dec 10, 2024
2 parents a57f326 + 4143fbd commit 80153e8
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 4 deletions.
6 changes: 6 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,9 @@ return [
<exec executable="psql" checkreturn="true">
<arg line="-c &quot;GRANT ALL ON DATABASE ${vufinddb} TO ${vufinddbuser};&quot; ${pgsqlrootuser}" />
</exec>
<exec executable="psql" checkreturn="true">
<arg line="-c &quot;ALTER DATABASE ${vufinddb} OWNER TO ${vufinddbuser};&quot; ${pgsqlrootuser}" />
</exec>
</then>
<else>
<exec executable="sudo">
Expand All @@ -849,6 +852,9 @@ return [
<exec executable="sudo" checkreturn="true">
<arg line="su -c &quot;psql -c 'GRANT ALL ON DATABASE ${vufinddb} TO ${vufinddbuser};'&quot; ${pgsqlrootuser}" />
</exec>
<exec executable="sudo" checkreturn="true">
<arg line="su -c &quot;psql -c 'ALTER DATABASE ${vufinddb} OWNER TO ${vufinddbuser};'&quot; ${pgsqlrootuser}" />
</exec>
</else>
</if>

Expand Down
Binary file added import/lib_local/postgresql-42.7.4.jar
Binary file not shown.
Binary file removed import/lib_local/postgresql-9.1-902.jdbc4.jar
Binary file not shown.
3 changes: 3 additions & 0 deletions themes/bootstrap3/js/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ function applyPreviewUrl($link, url) {
// Update associated record thumbnail, if any:
$link.parents('.result,.record')
.find('.recordcover[data-linkpreview="true"]').parents('a').attr('href', url)
.off('click') // disable custom click handling
.attr('data-lightbox-image', null) // disable opening in lightbox
.attr('target', '_blank') // open consistently with preview button
.attr('rel', 'noopener');
}

Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap3/templates/myresearch/editlist.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<h2><?=$this->transEsc($pageTitle); ?></h2>

<form class="form-edit-list" method="post" name="<?=$this->newList ? 'newList' : 'editListForm'?>" action="<?=$this->url('editList'); ?>">
<input type="hidden" name="id" value="<?=empty($listId = $this->list->getId()) ? 'NEW' : $this->escapeHtmlAttr($listId) ?>">
<input type="hidden" name="id" value="<?=$this->newList || empty($listId = $this->list->getId()) ? 'NEW' : $this->escapeHtmlAttr($listId) ?>">
<?=$this->context($this)->renderInContext('cart/form-record-hidden-inputs.phtml', []); ?>
<div class="form-group">
<label class="control-label" for="list_title"><?=$this->transEsc('List'); ?>:</label>
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap3/templates/record/save.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<?php endif; ?>
</select>
<?php endif; ?>
<button type="submit" name="newList" class="btn btn-link" id="make-list"><?=$showLists ? $this->transEsc('or create a new list') : $this->transEsc('Create a List'); ?></button>
<button type="submit" name="newList" value="1" class="btn btn-link" id="make-list"><?=$showLists ? $this->transEsc('or create a new list') : $this->transEsc('Create a List'); ?></button>
</div>

<?php if ($showLists): ?>
Expand Down
3 changes: 3 additions & 0 deletions themes/bootstrap5/js/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ function applyPreviewUrl($link, url) {
// Update associated record thumbnail, if any:
$link.parents('.result,.record')
.find('.recordcover[data-linkpreview="true"]').parents('a').attr('href', url)
.off('click') // disable custom click handling
.attr('data-lightbox-image', null) // disable opening in lightbox
.attr('target', '_blank') // open consistently with preview button
.attr('rel', 'noopener');
}

Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap5/templates/myresearch/editlist.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<h2><?=$this->transEsc($pageTitle); ?></h2>

<form class="form-edit-list" method="post" name="<?=$this->newList ? 'newList' : 'editListForm'?>" action="<?=$this->url('editList'); ?>">
<input type="hidden" name="id" value="<?=empty($listId = $this->list->getId()) ? 'NEW' : $this->escapeHtmlAttr($listId) ?>">
<input type="hidden" name="id" value="<?=$this->newList || empty($listId = $this->list->getId()) ? 'NEW' : $this->escapeHtmlAttr($listId) ?>">
<?=$this->context($this)->renderInContext('cart/form-record-hidden-inputs.phtml', []); ?>
<div class="form-group">
<label class="control-label" for="list_title"><?=$this->transEsc('List'); ?>:</label>
Expand Down
2 changes: 1 addition & 1 deletion themes/bootstrap5/templates/record/save.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<?php endif; ?>
</select>
<?php endif; ?>
<button type="submit" name="newList" class="btn btn-link" id="make-list"><?=$showLists ? $this->transEsc('or create a new list') : $this->transEsc('Create a List'); ?></button>
<button type="submit" name="newList" value="1" class="btn btn-link" id="make-list"><?=$showLists ? $this->transEsc('or create a new list') : $this->transEsc('Create a List'); ?></button>
</div>

<?php if ($showLists): ?>
Expand Down

0 comments on commit 80153e8

Please sign in to comment.