All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed ambiguous
orderBy
clause (thanks to @Sjoertjuh) - Updated packages
- Updated packages
- Added option(s) to disable sortability cache
- Fixed access error to
$sortabilityCache
- Fixed N+1 queries on index views
- Updated packages
- Added
nova_order_by
property to$sortable
(thanks to @lisotton) - Added
pt-BR
translations (thanks to @lisotton)
- Updated packages
- Fixed Vue runtime warning -
reorderDisabled is already defined as a prop
- Fixed compatibility with Nova 3.27 (thanks to @mstaack)
- Updated packages
- Fix reordering
- Fixed issue where rows reset to their original order after selecting one of the rows
- Applied Nova 3.5.0 updates to overridden components
- Updated packages
- Fixed issue with
getSortability
returning null in some cases (thanks to @chiz-developer)
eloquent-sortable
version 4.0 support (thanks to @veneliniliev)
- Updated Persian (Farsi) translations (thanks to @FaridAghili)
- Updated packages
- Added
ignore_policies
option - Added Polish translations (thanks to @mgralikowski)
- Fixed
SoftDeletes
check (thanks to @andre4nap) - Fixed API routes not using Nova's configured domain (thanks to @angelsk)
- Updated packages
- Added support for custom pivot accessors (thanks to @mikaelpopowicz)
- Restored support for BelongsTo + Index sorting
- Hide sorting buttons on Lenses
- Updated packages
- Fixed
only_show_on
anddont_show_on
not working for one-to-many relationships - Fixed a case where unauthorizing delete would also hide sortable buttons
- Fixed a case where
getSortability
would receive a model instead of a resource causing invalid configuration to be returned - Fixed
canSort
fallback (was opposite of what it is supposed to be) - Updated packages
- Fixed a case where an extra
<td>
was displayed in the table row - Updated packages
- Fixed sort order not being normalized (thanks to @marispro)
- Fixed Spatie's SortableTrait not detected in a recursive setting (thanks to @shaffe-fr)
- Fixed issue with sorting by wrong keys in many-to-many relationships
- Fixed sorting buttons being displayed on all resources
- Updated packages
- Fixed inline actions in Lenses returning 404 (thanks to @TheSETJ)
- Use
nova-translations-loader
for loading translations - Add fallback values to sort order when the column is empty
- Don't allow reordering when user is not
authorizedToUpdate
resource - Allow
canSort
to be used on a per-resource basis - Fix UI issues when delete policy is enabled
- Add Estonian translations
- Updated packages
- Dropped PHP 7.1, PHP 7.2, Laravel 6 and Nova 2 support
- Updated packages
- Bump
eloquent-sortable
version to 3.9
- Furher improved compatibility with
eloquent-sortable
(thanks to @fkraefft)
- Use
eloquent-sortable
default config when$sortable
is not specified on the model (thanks to @fkraefft)
- Updated packages
- Added ability to enable/disable sorting on a per-request basis (thanks to @Naoray)
- Updated packages
- Fixed some crashes caused by
buildSortQuery
inupdateOrder
(again) (vol. 2)
- Fixed some crashes caused by
buildSortQuery
inupdateOrder
(again)
- Fixed some crashes caused by
buildSortQuery
inupdateOrder
- Updated packages
- Updated dist file(s) forgotten in previous release
- Updated packages
- Fixed HasMany not showing correct sorting buttons
- Fixed ManyToMany not showing any sorting buttons in some cases
- Fixed a case where a relationship query tried to sort the wrong model (thanks to @eduardoesternon)
- Fixed a case where a missing
ConvertEmptyStringsToNull
middleware could cause a 400 error
- Fixed buildSortQuery in updateOrder
- Add ability to allow or deny sorting capability on specific models (thanks to @Nickotavers)
- Support buildSortQuery in updateOrder (thanks to @stevelacey)
- Updated packages
- Added French translations (thanks to @Nyratas)
- Added Russian translations (thanks to @everestmx)
- Added Spanish translations (thanks to @gerardnll)
- Fixed hardcoded primary key column names (thanks to @newtongamajr)
- Fix reorder component not being rendered when there's no checkbox due to permissions
- Updated packages
- Fixed global search not working
- Fixed crash when opening an empty
ManyToMany
field - Fixed hard-coded primary key and sort order name columns
- Rework
ManyToMany
relationship handling (fix tomoveToStart
andmoveToEnd
) - Update docs on setting up
ManyToMany
sorting - Improve
HasMany
relationship handling - Update packages
- Rework
ManyToMany
relationship handling - Update docs on setting up
ManyToMany
sorting
- BelongsToMany fixes
- HasMany support (see
README.md
)
- NB! The setting
sort_on_pivot
has been renamed tosort_on_belongs_to
- Stop serving empty CSS file
- Refactored code
- Updated packages
- Support Nova 3.0 in
composer.json
requirements
- Pivot tables sorting support
- Added Farsi (Persian) translations (by @FaridAghili)
- Hide sortable buttons on pivot table
- Support Laravel Nova >= 2.10.0
- Updated packages
- Updated packages
- Removed usage of
:class
as a custom prop due to errors on some versions of Vue
- Added german translations (thanks to @mynetx)
- Fix locale loading logic
- Localization support (see README)
- Refactored front-endcode
- Updated dependencies
- Fixed being able to click on "to start" and "to end" arrows when reorder is disabled
- Drag & drop reorder within one page of resources
- Move to start and end arrows (makes item first/last)
- Everything from eloquent-sortable