Skip to content

Commit

Permalink
Merge pull request #73 from nguyenanhung/v3.x
Browse files Browse the repository at this point in the history
Release version 3.1.0.1
  • Loading branch information
nguyenanhung authored Feb 7, 2023
2 parents 990af7b + 0033f93 commit 893c555
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
interface Environment
{
public const PROJECT_NAME = 'My Database by HungNG';
public const VERSION = '3.1.0';
public const VERSION = '3.1.0.1';
public const LAST_MODIFIED = '2023-02-07';
public const AUTHOR_NAME = 'Hung Nguyen';
public const AUTHOR_EMAIL = 'dev@nguyenanhung.com';
Expand Down Expand Up @@ -49,7 +49,7 @@ interface Environment
public const OPERATOR_IS_NOT_NULL = 'IS NOT NULL';
public const ORDER_ASCENDING = 'ASC';
public const ORDER_DESCENDING = 'DESC';
public const TABLE_IS_ACTIVE = 1;
public const TABLE_OPERATOR_IS_ACTIVE = 1;

/**
* Hàm lấy thông tin phiên bản Package
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ protected function bindOrderByNoDefault(Builder $db, $orderByField): Builder
*/
protected function filterRecordIsActive(Builder $db, string $field = 'status'): Builder
{
$db->where($this->table . '.' . $field, self::OPERATOR_EQUAL_TO, self::TABLE_IS_ACTIVE);
$db->where($this->table . '.' . $field, self::OPERATOR_EQUAL_TO, self::TABLE_OPERATOR_IS_ACTIVE);

return $db;
}
Expand Down

0 comments on commit 893c555

Please sign in to comment.