Skip to content

Commit

Permalink
Fix issue with table names not being retrieved correctly in Reservati…
Browse files Browse the repository at this point in the history
…ons_model

Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jul 26, 2023
1 parent 8e4a844 commit dd96381
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/split.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
branch: ${GITHUB_REF#refs/heads/}

package_directory: 'app/${{ matrix.package.path }}'
repository_organization: 'tastyigniter'
repository_name: '${{ matrix.package.repository }}'
Expand All @@ -49,7 +48,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
tag: ${GITHUB_REF#refs/tags/}

package_directory: 'app/${{ matrix.package.path }}'
repository_organization: 'tastyigniter'
repository_name: '${{ matrix.package.repository }}'
Expand Down
2 changes: 1 addition & 1 deletion app/admin/models/Reservations_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public function getOccasionAttribute()
public function getTableNameAttribute()
{
return ($this->tables && $this->tables->isNotEmpty())
? implode(', ', $this->tables->pluck('table_name')->all())
? implode(', ', $this->tables->pluck('name')->all())
: '';
}

Expand Down

0 comments on commit dd96381

Please sign in to comment.