hitobito-kjv/app/helpers/kjv/people_helper.rb
KJV Bautzen a23a6a7f8b Phase 1: Korrekturen nach Test, Doku 🤖
- Prüfseite: absolute Übersetzungsschlüssel
- Sammel-PDF: QR-Code ohne Haarfugen, mehr Ruhezone, IDs ohne pluck auf DISTINCT
- Spaltenkopf der Personenliste ohne Spitzname
- README, Changelog, Version 0.2.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 20:31:17 +02:00

13 lines
502 B
Ruby

# frozen_string_literal: true
# Copyright (c) 2026, Kreisjagdverband Bautzen e.V. This file is part of
# hitobito_kjv and licensed under the Affero General Public License version 3
# or later. See the COPYING file at the top-level directory.
module Kjv::PeopleHelper
# Ausgeblendete Felder (z. B. Spitzname) auch aus den Spaltenköpfen der Personenliste
# entfernen.
def sortable_grouped_person_attr(t, attrs, &block)
super(t, attrs.except(*Kjv::Person::HIDDEN_ATTRS), &block)
end
end