Closed (fixed)
Project:
Node Order
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 May 2018 at 17:29 UTC
Updated:
16 May 2018 at 18:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
davps commentedSome comments:
nodeorder.routing.yml:
We can't use _entity_list in route, because we are displaying custom nodes list. Extending and modify contrib NodeListBuilder is a bad solution, here.
NodeOrderListBuilder.php:
Method load will be triggered later, if we pass empty array as an argument, method will be load all entities with type node, will be passed -1 as an allowed ID for node to prevent loading all entities. Case for term without nodes.
Additional changes:
- Added custom access to route
- Rewrited few methods and functions
- Old form removed
- Added pager, to avoid problems with too many entities #2314945-9: Pager on node ordering display not needed
- Added columns: Type, Status, Operations
Comment #4
davps commented