Skip to content

Commit

Permalink
Version 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
magenizr committed Oct 24, 2023
1 parent 00abefa commit 9519f64
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
5 changes: 5 additions & 0 deletions Controller/Adminhtml/Reset/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ class Index extends \Magento\Backend\App\Action
*/
protected $request;

/**
* @var \Magento\User\Model\UserFactory
*/
protected $userFactory;

/**
* Index constructor.
*
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ Usually a technical person ( e.g developer ) is required to reset those filters

## Installation (Composer 2)

1. Update your composer.json `composer require "magenizr/magento2-resetuibookmarks":"1.3.0" --no-update`
1. Update your composer.json `composer require "magenizr/magento2-resetuibookmarks":"1.3.1" --no-update`
2. Use `composer update magenizr/magento2-resetuibookmarks --no-install` to update your composer.lock file.

```
Updating dependencies
Lock file operations: 1 install, 1 update, 0 removals
- Locking magenizr/magento2-resetuibookmarks (1.3.0)
- Locking magenizr/magento2-resetuibookmarks (1.3.1)
```

3. And then `composer install` to install the package.
Expand All @@ -36,7 +36,7 @@ Lock file operations: 1 install, 1 update, 0 removals
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 0 update, 0 removals
- Installing magenizr/magento2-resetuibookmarks (1.3.0): Extracting archive
- Installing magenizr/magento2-resetuibookmarks (1.3.1): Extracting archive
```

4. Enable the module and clear static content.
Expand All @@ -47,7 +47,7 @@ php bin/magento module:enable Magenizr_ResetUiBookmarks

## Installation (Manually)
1. Download the code.
2. Extract the downloaded tar.gz file. Example: `tar -xzf Magenizr_ResetUiBookmarks_1.3.0.tar.gz`.
2. Extract the downloaded tar.gz file. Example: `tar -xzf Magenizr_ResetUiBookmarks_1.3.1.tar.gz`.
3. Copy the code into `./app/code/Magenizr/ResetUiBookmarks/`.
4. Enable the module and clear static content.

Expand All @@ -72,6 +72,9 @@ If you experience any issues, don't hesitate to open an issue on [Github](https:
Follow us on [GitHub](https://github.com/magenizr), [Twitter](https://twitter.com/magenizr) and [Facebook](https://www.facebook.com/magenizr).

## History
===== 1.3.1 =====
* Declare class property to fix issue in PHP 8.2

===== 1.3.0 =====
* Namespace added so that you can clear bookmarks for a specific grid table

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magenizr/magento2-resetuibookmarks",
"description": "This Magento 2 module allows you to reset your UI bookmarks such as state of filters, column positions, grid sorting, pagination and so on.",
"type": "magento2-module",
"version": "1.3.0",
"version": "1.3.1",
"license": [
"OSL-3.0"
],
Expand Down

0 comments on commit 9519f64

Please sign in to comment.