We have to work on the following tasks to complete the D8 port of the module. Please create a new child issue if not already added.

  • Add basic files for the module i.e info.yml and .module file.
  • Add install file describing the schema of the module.
  • Add the controller displaying the logged search results.
  • Add the configuration form for the module.
  • Add the form for clearing the stored search logs in the system.
  • Add the cron job clearing the search logs as configured by the administrator.
  • Add the logic for altering the search forms and storing the required information in the database.

Issue fork search_log-3162962

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

gaurav.kapoor created an issue. See original summary.

gaurav.kapoor’s picture

Issue tags: +DIACWNov2020
gaurav.kapoor’s picture

Issue tags: +DIACWOct2020
gaurav.kapoor’s picture

Assigned: Unassigned » gaurav.kapoor

Alex Bukach made their first commit to this issue’s fork.

alex.bukach’s picture

Component: Miscellaneous » Code
Assigned: gaurav.kapoor » Unassigned
Status: Active » Needs review
StatusFileSize
new36.25 KB

Here's a patch based on the merge request !1.

As Drupal 8/9/10 version is not usable at all, I have reworked the module to have at least basic features.

The new version relies hardly on Views to display the results.

alex.bukach’s picture

StatusFileSize
new35.99 KB

Relied on hook_search_preprocess() as form submit is not invoked for search block form.

alex.bukach’s picture

StatusFileSize
new36.79 KB

IMPORTANT: You should apply core patch from https://www.drupal.org/project/drupal/issues/3439302 to catch searches from search block form.