-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split tags2entity #4203
base: hypernext
Are you sure you want to change the base?
Split tags2entity #4203
Conversation
…arcel-split-tags2entity # Conflicts: # src/sql/schema112.sql
…arcel-split-tags2entity # Conflicts: # src/classes/Update.php # src/models/AbstractEntity.php # src/models/Tags.php # src/models/TeamTags.php # src/models/Templates.php # src/sql/schema113.sql # src/templates/edit.html # src/templates/templates-edit.html # src/templates/view.html
src/models/Items.php
Outdated
@@ -114,6 +114,7 @@ public function duplicate(): int | |||
'canread' => $this->entityData['canread'], | |||
'canwrite' => $this->entityData['canwrite'], | |||
'canbook' => $this->entityData['canbook'], | |||
// TODO: check why category_id is not always present |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
category_id has been removed because it is now the same as category
src/sql/schema129.sql
Outdated
FROM tags2entity WHERE item_type LIKE 'items'; | ||
|
||
-- create tags2items_types | ||
CREATE TABLE `tags2items_types` ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NicolasCARPi
Do we need this table? Seems like there is no possibility in the web front end to add tags to resource templates.
…arcel-split-tags2entity # Conflicts: # src/Make/MakeEln.php # src/models/AbstractEntity.php # src/models/Tags.php # src/models/TeamTags.php # src/sql/schema129-down.sql # src/sql/schema129.sql # src/templates/field-builder-modal.html # src/templates/show.html
closes #4146