Skip to content

Adds modular search results component - #89

Merged
chiatt merged 7 commits into
mainfrom
adg/add-modular-search-results
Mar 9, 2026
Merged

chiatt merged 7 commits into
mainfrom
adg/add-modular-search-results

Conversation

@aarongundel

@aarongundel aarongundel commented Feb 27, 2026 •

Copy link
Copy Markdown
Contributor

@aarongundel

Copy link
Copy Markdown
Contributor Author

To test this, you need to use it in something like advanced search. This is a drop in replacement for the current Advanced Search Results component which has active changes in #87 . To test, modify arches_search/src/arches_search/AdvancedSearch/AdvancedSearch.vue and do this...

-import SearchResults from "@/arches_search/AdvancedSearch/components/SearchResults/SearchResults.vue";
+import SearchResults from "@/arches_search/SearchResults/SearchResults.vue";

@aarongundel
aarongundel marked this pull request as ready for review February 27, 2026 20:58
@aarongundel
aarongundel requested a review from chiatt February 27, 2026 20:59
Comment on lines +28 to +31
def get(self, request):
ids = request.GET.getlist("ids")
instances = ResourceInstance.objects.filter(resourceinstanceid__in=ids).only(
"resourceinstanceid", "descriptors", "graph_id"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth considering if we should do a user_can_read check here.

@chiatt chiatt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@chiatt
chiatt merged commit d8e74dd into main Mar 9, 2026
2 of 6 checks passed
@chiatt
chiatt deleted the adg/add-modular-search-results branch March 9, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update search results with modular report config

2 participants