Skip to content

Commit

Permalink
Boolean fields fix (vufind-org#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
skellamp authored Feb 13, 2023
1 parent e84923f commit 5c767b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions module/VuFind/src/VuFind/Db/Entity/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ class Search implements EntityInterface
/**
* Saved.
*
* @var int
* @var bool
*
* @ORM\Column(name="saved", type="integer", nullable=false)
* @ORM\Column(name="saved", type="boolean", nullable=false)
*/
protected $saved = '0';

Expand Down
4 changes: 2 additions & 2 deletions module/VuFind/src/VuFind/Db/Entity/UserList.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ class UserList implements EntityInterface
/**
* Flag to indicate whether or not the list is public.
*
* @var int
* @var bool
*
* @ORM\Column(name="public", type="integer", nullable=false)
* @ORM\Column(name="public", type="boolean", nullable=false)
*/
protected $public = '0';

Expand Down

0 comments on commit 5c767b5

Please sign in to comment.