Skip to content

Commit

Permalink
Apply fixes from StyleCI (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
danmichaelo authored Jan 9, 2021
1 parent 8ce3c10 commit 9e9466d
Show file tree
Hide file tree
Showing 40 changed files with 928 additions and 947 deletions.
2 changes: 1 addition & 1 deletion app/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public function newRecord()
/**
* Returns true if the base use soft deletes.
*
* @return boolean
* @return bool
*/
public function usesSoftDeletes()
{
Expand Down
118 changes: 59 additions & 59 deletions app/Bases/Bibliomanuel/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,164 +7,164 @@
class Schema extends BaseSchema
{
protected $schema = [
"id" => "bibliomanuel",
"fields" => [
'id' => 'bibliomanuel',
'fields' => [

// ID
[
"key" => "id",
"type" => "incrementing",
"showInRecordView" => true,
'key' => 'id',
'type' => 'incrementing',
'showInRecordView' => true,
],

// Sist endret
[
"key" => "created_at",
"type" => "simple",
"edit" => false,
"search" => false,
'key' => 'created_at',
'type' => 'simple',
'edit' => false,
'search' => false,

"columnClassName" => "dt-body-nowrap",
'columnClassName' => 'dt-body-nowrap',
],

// Sist endret
[
"key" => "updated_at",
"type" => "simple",
"edit" => false,
"search" => false,
'key' => 'updated_at',
'type' => 'simple',
'edit' => false,
'search' => false,

"columnClassName" => "dt-body-nowrap",
'columnClassName' => 'dt-body-nowrap',
],

// Forfatter
[
"key" => "forfatter",
"type" => "autocomplete",
'key' => 'forfatter',
'type' => 'autocomplete',
],

// Tittel
[
"key" => "tittel",
"type" => "simple",
'key' => 'tittel',
'type' => 'simple',
],

// Antologi
[
"key" => "antologi",
"type" => "simple",
'key' => 'antologi',
'type' => 'simple',
],

// Boktittel
[
"key" => "boktittel",
"type" => "simple",
'key' => 'boktittel',
'type' => 'simple',
],

// Redaktører
[
"key" => "redaktorer",
"type" => "simple",
'key' => 'redaktorer',
'type' => 'simple',
],

// Utgivelsessted
[
"key" => "utgivelsessted",
"type" => "simple",
'key' => 'utgivelsessted',
'type' => 'simple',
],

// Avis
[
"key" => "avis",
"type" => "simple",
'key' => 'avis',
'type' => 'simple',
],

// Tidsskriftstittel
[
"key" => "tidsskriftstittel",
"type" => "simple",
'key' => 'tidsskriftstittel',
'type' => 'simple',
],

// Nettsted
[
"key" => "nettsted",
"type" => "simple",
'key' => 'nettsted',
'type' => 'simple',
],

// Utviger
[
"key" => "utgiver",
"type" => "simple",
'key' => 'utgiver',
'type' => 'simple',
],

// År
[
"key" => "aar",
"type" => "simple",
'key' => 'aar',
'type' => 'simple',
],

// Dato
[
"key" => "dato",
"type" => "simple",
'key' => 'dato',
'type' => 'simple',

"search" => [
"advanced" => true,
'search' => [
'advanced' => true,
],
],

// Type
[
"key" => "type",
"type" => "simple",
'key' => 'type',
'type' => 'simple',
],

// Bind
[
"key" => "bind",
"type" => "simple",
'key' => 'bind',
'type' => 'simple',
],

// Hefte
[
"key" => "hefte",
"type" => "simple",
'key' => 'hefte',
'type' => 'simple',
],

// Nummer
[
"key" => "nummer",
"type" => "simple",
'key' => 'nummer',
'type' => 'simple',
],

// Sidetall
[
"key" => "sidetall",
"type" => "simple",
'key' => 'sidetall',
'type' => 'simple',
],

// ISBN
[
"key" => "isbn",
"type" => "simple",
'key' => 'isbn',
'type' => 'simple',
],

// ISSN
[
"key" => "issn",
"type" => "simple",
'key' => 'issn',
'type' => 'simple',
],

// EISSN
[
"key" => "eissn",
"type" => "simple",
'key' => 'eissn',
'type' => 'simple',
],

// URL
[
"key" => "url",
"type" => "simple",
'key' => 'url',
'type' => 'simple',
],
],
];
Expand Down
1 change: 0 additions & 1 deletion app/Bases/Bibsys/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ class Controller extends BaseController

public static $defaultSortOrder = [
];

}
Loading

0 comments on commit 9e9466d

Please sign in to comment.