Skip to content

Commit

Permalink
Plan record views integration #818
Browse files Browse the repository at this point in the history
  • Loading branch information
mstenta committed Apr 10, 2024
2 parents 30911b5 + 5bde3b2 commit bfd98ab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [Add file and image base fields to all taxonomy terms #807](https://github.com/farmOS/farmOS/pull/807)
- [Issue #3390486: Add an Ontology URI field to all taxonomy terms](https://www.drupal.org/project/farm/issues/3390486)
- [Add "Days of harvest" field to Plant type terms #794](https://github.com/farmOS/farmOS/pull/794)
- [Plan record views integration #818](https://github.com/farmOS/farmOS/pull/818)

### Changed

Expand Down
2 changes: 1 addition & 1 deletion modules/core/entity/modules/views/farm_entity_views.module
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function farm_entity_views_entity_type_build(array &$entity_types) {
/** @var \Drupal\Core\Entity\EntityTypeInterface[] $entity_types */

// Set the views data handler class to FarmEntityViewsData.
foreach (['asset', 'log', 'plan', 'quantity'] as $entity_type) {
foreach (['asset', 'log', 'plan', 'plan_record', 'quantity'] as $entity_type) {
if (!empty($entity_types[$entity_type])) {

// Use the correct class for each entity type.
Expand Down
1 change: 0 additions & 1 deletion modules/core/plan/src/Entity/PlanRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
* },
* },
* base_table = "plan_record",
* data_table = "plan_record_data",
* entity_keys = {
* "id" = "id",
* "uuid" = "uuid",
Expand Down

0 comments on commit bfd98ab

Please sign in to comment.