Skip to content

Commit

Permalink
Use numeric flag when searching assign_new_items
Browse files Browse the repository at this point in the history
  • Loading branch information
jimsafley committed Oct 12, 2021
1 parent 7d9303f commit 284f4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/view/omeka/admin/item/manage-sites.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
if ($item) {
$siteRepresentations = $item->sites();
} else {
$siteRepresentations = $this->api()->search('sites', ['assign_new_items' => true])->getContent();
$siteRepresentations = $this->api()->search('sites', ['assign_new_items' => 1])->getContent();

$userDefaultSites = $this->userSetting('default_item_sites');
if (is_array($userDefaultSites)) {
Expand Down

0 comments on commit 284f4f4

Please sign in to comment.