Skip to content

Commit

Permalink
Remove sort control from public item set browse
Browse files Browse the repository at this point in the history
Item set order is currently set manually by site admins in the Resources
tab.
  • Loading branch information
zerocrates committed Nov 27, 2018
1 parent 9962ec3 commit c23d50c
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions application/view/omeka/site/item-set/browse.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,6 @@ $escape = $this->plugin('escapeHtml');
$translate = $this->plugin('translate');

$this->htmlElement('body')->appendAttribute('class', 'item-set resource browse');
$sortHeadings = [
[
'label' => $translate('Title'),
'value' => 'dcterms:title'
],
[
'label' => $translate('Identifier'),
'value' => 'dcterms:identifier'
],
[
'label' => $translate('Class'),
'value' => 'resource_class_label'
],
[
'label' => $translate('Created'),
'value' => 'created'
],
];
?>

<?php echo $this->pageTitle($translate('Item sets'), 2); ?>
Expand All @@ -30,7 +12,6 @@ $sortHeadings = [
<div class="browse-controls">
<?php echo $this->pagination(); ?>
<?php echo $this->hyperlink($translate('Advanced search'), $this->url(null, ['action' => 'search'], true), ['class' => 'advanced-search']); ?>
<?php echo $this->sortSelector($sortHeadings); ?>
</div>

<?php $this->trigger('view.browse.before'); ?>
Expand Down

0 comments on commit c23d50c

Please sign in to comment.