File tree Expand file tree Collapse file tree 4 files changed +76
-0
lines changed
view/common/advanced-search Expand file tree Collapse file tree 4 files changed +76
-0
lines changed Original file line number Diff line number Diff line change 11<?php
2+ /**
3+ * Summary: This was copied from the core Omeka S view directory view/common/advanced-search
4+ * from commit 534ed98b4970b23b8841b5b80cf9375317c6d92d.
5+ *
6+ * Purpose: This instance passes the 'bypass_team_filter' => true to the query used to populate
7+ * the item-set select element. This allows users with the 'bypass_team_filter permission
8+ * to see all the installations item-sets, not just those that belong to the current team.
9+ * This facilitates populating new teams with existing resources.
10+ *
11+ * Notes: This file should be patched when upgrading the core software so that the advanced search
12+ * elements continue to reflect the changes in the core software. Create a patch using git diff
13+ * using the commit hash listed below and applying the patch to this file . Then update the commit
14+ * listed under Most recent patch.
15+ *
16+ * Most recent patch: 534ed98b4970b23b8841b5b80cf9375317c6d92d
17+ *
18+ */
219$ translate = $ this ->plugin ('translate ' );
320// Prepare the item set queries
421$ inIds = $ query ['item_set_id ' ] ?? [];
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Summary: This was copied from the core Omeka S view directory view/common/advanced-search
4+ * from commit 534ed98b4970b23b8841b5b80cf9375317c6d92d.
5+ *
6+ * Purpose: This instance uses a local view helper allUserSelect to generate the form element
7+ * because the core view helper userSelect can not accept query parameter, and we need to pass
8+ * passes the 'bypass_team_filter' => true to the query used to populate
9+ * the user select element. This allows users with the 'bypass_team_filter' permission
10+ * to see all the installations users, not just those that are members of the current team.
11+ * This facilitates populating new teams with existing users.
12+ *
13+ * Notes: This file should be patched when upgrading the core software so that the advanced search
14+ * elements continue to reflect the changes in the core software. Create a patch using git diff
15+ * using the commit hash listed below and applying the patch to this file . Then update the commit
16+ * listed under Most recent patch.
17+ *
18+ * Most recent patch: 534ed98b4970b23b8841b5b80cf9375317c6d92d
19+ *
20+ */
21+ ?>
22+
123<div class="field">
224 <div class="field-meta">
325 <label for="owner_id"><?php echo $ this ->translate ('Search by owner ' ); ?> </label>
Original file line number Diff line number Diff line change 11<?php
2+ /**
3+ * Summary: This was copied from the core Omeka S view directory view/common/advanced-search
4+ * from commit 534ed98b4970b23b8841b5b80cf9375317c6d92d.
5+ *
6+ * Purpose: This instance passes the 'bypass_team_filter' => true to the query used to populate
7+ * the resource-template select element. This allows users with the 'bypass_team_filter' permission
8+ * to see all the installations resource-templates, not just those that belong to the current team.
9+ * This facilitates populating new teams with existing resource-templates.
10+ *
11+ * Notes: This file should be patched when upgrading the core software so that the advanced search
12+ * elements continue to reflect the changes in the core software. Create a patch using git diff
13+ * using the commit hash listed below and applying the patch to this file . Then update the commit
14+ * listed under Most recent patch.
15+ *
16+ * Most recent patch: 534ed98b4970b23b8841b5b80cf9375317c6d92d
17+ *
18+ */
19+
220$ translate = $ this ->plugin ('translate ' );
321
422// Prepare the resource template query.
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Summary: This was copied from the core Omeka S view directory view/common/advanced-search
4+ * from commit 534ed98b4970b23b8841b5b80cf9375317c6d92d.
5+ *
6+ * Purpose: This instance passes the 'bypass_team_filter' => true to the query used to populate
7+ * the site select element. This allows users with the 'bypass_team_filter' permission
8+ * to see all the installations sites, not just those that belong to the current team.
9+ * This facilitates populating new teams with existing sites.
10+ *
11+ * Notes: This file should be patched when upgrading the core software so that the advanced search
12+ * elements continue to reflect the changes in the core software. Create a patch using git diff
13+ * using the commit hash listed below and applying the patch to this file . Then update the commit
14+ * listed under Most recent patch.
15+ *
16+ * Most recent patch: 534ed98b4970b23b8841b5b80cf9375317c6d92d
17+ *
18+ */
19+ ?>
120<div class="field">
221 <div class="field-meta">
322 <label for="site_id"><?php echo $ this ->translate ('Search by site ' ); ?> </label>
You can’t perform that action at this time.
0 commit comments