Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added islandora_advanced_search module. #824

Merged
merged 2 commits into from
Apr 21, 2021

Conversation

nigelgbanks
Copy link
Member

What does this Pull Request do?

Adds a new optional module that allows for include/exclude facets, collection searching, advanced search, etc.

Most of features are covered in this demo:

image

How should this be tested?

No configuration is provided as part of the module as it will depend on the users content types, fields etc. The README.md documents how it can be configured.

Install and mess around more or less.

Additional Notes:

Minimal CSS is provided with the module, the assumption is that will largely be handled by the theme as it's gonna differ from site to site.

No new dependencies are added if you consider the dependencies that islandora_defaults has.

Interested parties

@Islandora/8-x-1-x-committers

@dannylamb
Copy link

Niiiiiiiice. Thx @nigelgbanks !

Copy link

@ajstanley ajstanley left a comment

Choose a reason for hiding this comment

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

An impressive piece of work!
Other than one tiny typo in the README, I'd suggest moving configuration from Configuration/Islandora to Configuration/search and metadata.


## Introduction

This module creates an several blocks to support searching as well as enables the use of Ajax.

Choose a reason for hiding this comment

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

Minor typo -

Copy link
Member Author

Choose a reason for hiding this comment

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

Should be sorted now.

@nigelgbanks
Copy link
Member Author

Other than one tiny typo in the README, I'd suggest moving configuration from Configuration/Islandora to Configuration/search and metadata.

I'll do those both on Monday most likely.

$configuration,
$plugin_id,
$plugin_definition,
$container->get('request_stack')->getMasterRequest(),
Copy link
Member

Choose a reason for hiding this comment

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

As per discussion in Slack this is 7.3 specific feature: https://wiki.php.net/rfc/trailing-comma-function-calls.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorted

$plugin_definition,
$container->get('plugin.manager.search_api.display'),
$container->get('form_builder'),
$container->get('request_stack')->getMasterRequest(),
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorted

*/
public static function create(ContainerInterface $container) {
return new static(
$container->get('request_stack')->getMasterRequest(),
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorted

$container->get('router'),
$container->get('path_processor_manager'),
$container->get('current_route_match'),
$container,
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorted

@nigelgbanks nigelgbanks force-pushed the 8.x-1.x-advanced-search branch from 6b310c0 to 84de729 Compare April 2, 2021 09:52
@nigelgbanks
Copy link
Member Author

An impressive piece of work!
Other than one tiny typo in the README, I'd suggest moving configuration from Configuration/Islandora to Configuration/search and metadata.

Should be done now.

@nigelgbanks
Copy link
Member Author

@jordandukart I fixed the incompatibilities you highlighted. I tried to find a tool that could automate this check for me, but neither https://vfac.fr/projects/php7compatibility or its latest version from source https://github.com/PHPCompatibility/PHPCompatibility could find the issue. Do you know of a tool that could automate this check? I'd like to integrate something into IDE packaged with Isle Islandora-Devops/isle-buildkit#130 so that it can happen automatically.

@nigelgbanks
Copy link
Member Author

Also sorry it took a month to get to this, Isle swallowed almost all of my time during that last month.

@elizoller
Copy link
Member

@ajstanley are you still looking at this one? or does it need another set of 👀 ?

@ajstanley
Copy link

All looking good. Merged.

@ajstanley ajstanley closed this Apr 21, 2021
@ajstanley ajstanley reopened this Apr 21, 2021
@ajstanley ajstanley merged commit 6d2ad0e into Islandora:8.x-1.x Apr 21, 2021
@kayakr
Copy link

kayakr commented Apr 29, 2021

@ajstanley @nigelgbanks Good stuff. However, needs search and replace of decedent to descendant

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.

6 participants