grocy/public/viewjs
MasterofJOKers 39117b329d Improve sorting for stock entries view
In the stockentries view the ordering by expiration date, amount, price
and purchase date did not work as expected. b5fc64cf already addressed a
similar issue for other views. This commit now does the same: set
DataTables types on the specific columns.

Since the units being part of the "amount" column break numeric sorting,
this commit adds a "data-order" field for that column, so numeric
sorting can still work. This is done in aligment with the stockoverview
page, that already contains such an entry to facilitate proper sorting.
2021-11-25 18:21:25 +01:00
..
components Replace Timeago with momentjs (#1687) 2021-11-15 20:05:10 +01:00
about.js Make it possible to show the changelog directly via /about?tab=changelog 2019-03-09 16:25:23 +01:00
barcodescannertesting.js Fixed camera scanning targets (fixes #1210) 2020-12-22 19:06:41 +01:00
batteries.js Make it possible to hide chores/batteries (closes #1069) 2020-12-20 10:19:44 +01:00
batteriesjournal.js Squashed commit 2021-07-13 19:29:23 +02:00
batteriesoverview.js Use original column index when accessing data table columns (fixes #1684) 2021-11-12 18:26:19 +01:00
batteriessettings.js Improved number input initial value decimal handling 2020-11-15 14:15:09 +01:00
batteryform.js Fixed modal dialogs / iframes initial input focus (fixes #1665) 2021-11-08 21:59:02 +01:00
batterytracking.js Optimized chore/battery tracking input focus handling 2021-08-27 20:54:27 +02:00
calendar.js Merge used libraries for Barcode/QR-Code generation 2020-12-20 19:53:28 +01:00
choreform.js Squashed commit 2021-07-13 19:29:23 +02:00
chores.js Added the possibility to merge chores 2021-11-14 16:19:52 +01:00
choresjournal.js Squashed commit 2021-07-13 19:29:23 +02:00
choresoverview.js Use original column index when accessing data table columns (fixes #1684) 2021-11-12 18:26:19 +01:00
choressettings.js Improved number input initial value decimal handling 2020-11-15 14:15:09 +01:00
choretracking.js Optimized chore/battery tracking input focus handling 2021-08-27 20:54:27 +02:00
consume.js Fixed per unit stock grocycodes weren't unique per unit (fixes #1676) 2021-11-14 15:26:38 +01:00
equipment.js Improved initial DataTables sorting (fixes #1235) 2020-12-30 13:55:01 +01:00
equipmentform.js Workaround for file upload problem when the file name contains Umlaute (seems to be a Linux only issue, fixes #1382) 2021-07-09 21:23:04 +02:00
inventory.js Don't apply the barocde qu_id if empty (fixes #1619) 2021-09-19 10:07:25 +02:00
locationcontentsheet.js Finished the implementation of "Location Content Sheet" (closes #341) 2019-08-11 09:24:47 +02:00
locationform.js Fixed modal dialogs / iframes initial input focus (fixes #1665) 2021-11-08 21:59:02 +01:00
locations.js Squashed commit 2020-12-07 19:48:33 +01:00
login.js Migrated (hopefully) all translations to PO/Gettext (references #161) 2019-05-01 20:19:18 +02:00
manageapikeys.js Merge used libraries for Barcode/QR-Code generation 2020-12-20 19:53:28 +01:00
mealplan.js Hide elements when printing (#1559) 2021-08-06 20:18:43 +02:00
mealplansectionform.js Implemented meal plan sections (closes #370) 2021-07-15 17:54:48 +02:00
mealplansections.js Implemented meal plan sections (closes #370) 2021-07-15 17:54:48 +02:00
openapiui.js Squashed commit 2021-07-13 19:29:23 +02:00
productbarcodeform.js Fixed modal dialogs / iframes initial input focus (fixes #1665) 2021-11-08 21:59:02 +01:00
productform.js Simplified stock entry label printing options (on purchase) (references #1647) 2021-11-13 18:26:01 +01:00
productgroupform.js Fixed modal dialogs / iframes initial input focus (fixes #1665) 2021-11-08 21:59:02 +01:00
productgroups.js Squashed commit 2020-12-07 19:48:33 +01:00
products.js Added the possibility to merge chores 2021-11-14 16:19:52 +01:00
purchase.js Fixed typos 2021-11-14 15:37:10 +01:00
quantityunitconversionform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
quantityunitform.js Squashed commit 2020-12-07 19:48:33 +01:00
quantityunitpluraltesting.js Replaced jQuery UI by Animate.css (better, faster, lighter) 2020-01-28 19:27:18 +01:00
quantityunits.js Fixed filter clearing on /quantityunits (fixes #1511) 2021-06-27 18:42:15 +02:00
recipeform.js Restore the rest of "orderFixed" (DataTables rowgroup option) (again closes #1534) 2021-08-17 17:52:28 +02:00
recipeposform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
recipes.js Use original column index when accessing data table columns (fixes #1684) 2021-11-12 18:26:19 +01:00
recipessettings.js Improved number input initial value decimal handling 2020-11-15 14:15:09 +01:00
shoppinglist.js Use original column index when accessing data table columns (fixes #1684) 2021-11-12 18:26:19 +01:00
shoppinglistform.js Fixed modal dialogs / iframes initial input focus (fixes #1665) 2021-11-08 21:59:02 +01:00
shoppinglistitemform.js Fixed modal dialogs / iframes initial input focus (fixes #1665) 2021-11-08 21:59:02 +01:00
shoppinglistsettings.js Fixed shopping list setting initialization (fixes #1344) 2021-07-03 19:43:32 +02:00
shoppinglocationform.js Fixed modal dialogs / iframes initial input focus (fixes #1665) 2021-11-08 21:59:02 +01:00
shoppinglocations.js Squashed commit 2020-12-07 19:48:33 +01:00
stockentries.js Improve sorting for stock entries view 2021-11-25 18:21:25 +01:00
stockentryform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
stockjournal.js Use original column index when accessing data table columns (fixes #1684) 2021-11-12 18:26:19 +01:00
stockjournalsummary.js Use original column index when accessing data table columns (fixes #1684) 2021-11-12 18:26:19 +01:00
stockoverview.js Use original column index when accessing data table columns (fixes #1684) 2021-11-12 18:26:19 +01:00
stocksettings.js Added a new "Presets for new products" stock setting for the "Default due days" option of new products (closes #1552) 2021-11-13 17:05:23 +01:00
taskcategories.js Squashed commit 2020-12-07 19:48:33 +01:00
taskcategoryform.js Fixed modal dialogs / iframes initial input focus (fixes #1665) 2021-11-08 21:59:02 +01:00
taskform.js Fixed modal dialogs / iframes initial input focus (fixes #1665) 2021-11-08 21:59:02 +01:00
tasks.js Use original column index when accessing data table columns (fixes #1684) 2021-11-12 18:26:19 +01:00
taskssettings.js Improved number input initial value decimal handling 2020-11-15 14:15:09 +01:00
transfer.js Don't apply the barocde qu_id if empty (fixes #1619) 2021-09-19 10:07:25 +02:00
userentities.js Squashed commit 2020-12-07 19:48:33 +01:00
userentityform.js Fixed modal dialogs / iframes initial input focus (fixes #1665) 2021-11-08 21:59:02 +01:00
userfieldform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
userfields.js Use original column index when accessing data table columns (fixes #1684) 2021-11-12 18:26:19 +01:00
userform.js Workaround for file upload problem when the file name contains Umlaute (seems to be a Linux only issue, fixes #1382) 2021-07-09 21:23:04 +02:00
userobjectform.js Prevent form submit when any combobox-dropdown is open (fixes #1236) 2020-12-31 13:45:14 +01:00
userobjects.js Squashed commit 2020-12-07 19:48:33 +01:00
userpermissions.js Use better confirm dialog 2020-12-22 10:05:06 +01:00
users.js Squashed commit 2020-12-07 19:48:33 +01:00
usersettings.js Improved number input initial value decimal handling 2020-11-15 14:15:09 +01:00