mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Merge remote-tracking branch 'origin/develop'
# Conflicts: # config/version.php # database/migrations/2018_02_22_160436_add_remote_user_settings.php
This commit is contained in:
commit
96bab5697d
|
@ -172,6 +172,10 @@ class Accessory extends SnipeModel
|
|||
$query->whereHas('company', function ($query) use ($search) {
|
||||
$query->where('companies.name', 'LIKE', '%'.$search.'%');
|
||||
});
|
||||
})->orWhere(function ($query) use ($search) {
|
||||
$query->whereHas('manufacturer', function ($query) use ($search) {
|
||||
$query->where('manufacturers.name', 'LIKE', '%'.$search.'%');
|
||||
});
|
||||
})->orWhere(function ($query) use ($search) {
|
||||
$query->whereHas('location', function ($query) use ($search) {
|
||||
$query->where('locations.name', 'LIKE', '%'.$search.'%');
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
return array (
|
||||
'app_version' => 'v4.1.14',
|
||||
'full_app_version' => 'v4.1.14 - build 3446-g90bff709a',
|
||||
'build_version' => '3446',
|
||||
'app_version' => 'v4.1.15',
|
||||
'full_app_version' => 'v4.1.14 - build 3464-g735840a',
|
||||
'build_version' => '3464',
|
||||
'prerelease_version' => '',
|
||||
'hash_version' => 'g90bff709a',
|
||||
'full_hash' => 'v4.1.14-55-g90bff709a',
|
||||
'hash_version' => 'g735840a',
|
||||
'full_hash' => 'v4.1.14-3464-g735840a',
|
||||
'branch' => 'master',
|
||||
);
|
||||
|
|
|
@ -16,6 +16,7 @@ class AddRemoteUserSettings extends Migration
|
|||
Schema::table('settings', function (Blueprint $table) {
|
||||
$table->boolean('login_remote_user_enabled')->default(0);
|
||||
$table->boolean('login_common_disabled')->default(0);
|
||||
$table->string('login_remote_user_custom_logout_url')->default("");
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -29,6 +30,7 @@ class AddRemoteUserSettings extends Migration
|
|||
Schema::table('settings', function (Blueprint $table) {
|
||||
$table->dropColumn('login_remote_user_enabled');
|
||||
$table->dropColumn('login_common_disabled');
|
||||
$table->dropColumn('login_remote_user_custom_logout_url');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue