pg_rails 7.6.18 → 7.6.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/pg_engine/app/controllers/concerns/pg_engine/resource.rb +1 -1
- data/pg_engine/app/views/pg_engine/base/index.html.slim +1 -1
- data/pg_layout/app/views/layouts/pg_layout/base.html.slim +2 -1
- data/pg_layout/app/views/layouts/pg_layout/show.html.slim +2 -2
- data/pg_rails/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3c2a1c474c0e93c88c3403a1c029908571afa71299d67bb61333f1dc41df4d6
|
4
|
+
data.tar.gz: 5bc01cc28aac8510bdac8d9e2b8b50f68c60d047d70dc0e47c693211dc4462a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af345cd05556af2813a3c492f4d8d76565f87eb34f7607a197ce9509ac35f4fbaea46029a9053f0768add6185d9940246360cf6c74705c0d88938c28e9b0fcce
|
7
|
+
data.tar.gz: f357484dbc3a12c00332574f8b7389020193a0a456b2ec0b1af8b1cd340c3a0c2855eea40ba8df125720283ddea2f741db8a45c0b8c3588348b5481342b8c6a9
|
@@ -474,7 +474,7 @@ module PgEngine
|
|
474
474
|
current_page = (total.to_f / current_page_size).ceil
|
475
475
|
end
|
476
476
|
@collection = @collection.page(current_page).per(current_page_size)
|
477
|
-
@records_filtered = default_scope_for_current_model(archived:).any? if @collection.empty?
|
477
|
+
@records_filtered = default_scope_for_current_model(archived:).any? if @filtros.present? && @collection.empty?
|
478
478
|
render :index
|
479
479
|
end
|
480
480
|
|
@@ -53,12 +53,12 @@
|
|
53
53
|
tr id="#{dom_id(object)}"
|
54
54
|
td.text-nowrap.xtext-end.xps-5
|
55
55
|
.actions-wrapper
|
56
|
-
= object.extra_actions(size: :sm) if object.respond_to? :extra_actions
|
57
56
|
= object.show_link(text: '')
|
58
57
|
= object.edit_link(text: '', klass: 'btn-light')
|
59
58
|
= object.archive_link
|
60
59
|
= object.restore_link
|
61
60
|
= object.destroy_link
|
61
|
+
= object.extra_actions(size: :sm) if object.respond_to? :extra_actions
|
62
62
|
- atributos_para_listar.each do |att, _sort_field|
|
63
63
|
= column_for object, att
|
64
64
|
- if action_name == 'archived'
|
@@ -23,7 +23,8 @@ html
|
|
23
23
|
/ En general es deseable el comportamiento scroll "reset", por ejemplo en los forms,
|
24
24
|
/ ya que los errores se muestran arriba y el botón de submit está abajo
|
25
25
|
/ meta name="turbo-refresh-scroll" content="preserve"
|
26
|
-
|
26
|
+
|
27
|
+
meta name="turbo-prefetch" content="#{ENV.fetch('TURBO_PREFETCH_ENABLE', 'false')}"
|
27
28
|
meta name="view-transition" content="same-origin"
|
28
29
|
meta name="cable-history-timestamp" content="#{Time.now.to_i}"
|
29
30
|
= csrf_meta_tags
|
data/pg_rails/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.6.
|
4
|
+
version: 7.6.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martín Rosso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|