Repository navigation
Nuova colonna Merce nell'elenco delle Attivita' - #1927
Open
Andrea-Bruno wants to merge 1 commit into
Open
Andrea-Bruno wants to merge 1 commit into
Andrea-Bruno wants to merge 1 commit into
Conversation
Registers a new Merce view for the Interventi module that lists, for each activity, the goods linked to it with quantity and description. Added as a correlated subquery so the main list query is untouched, and shipped in the 2.12.0 migration with Italian and English titles.
Author
|
Hello. The Codacy check on this pull request reports one new issue of at least minor severity, but the detail is not visible to us from outside Codacy, and the check output is empty. The change is a single SQL migration that adds a new searchable column to the activities list, following the same zz_views pattern already used by the other columns in that same list. Could a maintainer let us know which line Codacy is flagging and what it wants changed, so we can fix it? We are glad to adjust it. Thank you. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ciao e grazie per il progetto.
Ho letto la issue #1825 e ho preparato una correzione.
La richiesta era di avere, nell'elenco delle Attivita', una colonna che mostri la merce collegata a ogni attivita', cosi' da vedere subito quali prodotti entrano in quell'intervento senza doverlo aprire.
La correzione aggiunge questa nuova colonna. Per ogni riga dell'elenco viene mostrato l'elenco dei prodotti dell'attivita', ognuno con la sua quantita' e la sua descrizione, uno sotto l'altro. La colonna e' anche ricercabile, quindi si puo' filtrare l'elenco cercando un prodotto.
Il modo in cui l'ho ottenuta e' una query che raccoglie i prodotti di ciascuna attivita' al momento della lettura dell'elenco, senza appesantire la query principale e senza toccare le altre colonne. Ho scritto la colonna come sottovista collegata alla singola attivita', seguendo lo stesso schema gia' usato per altre colonne dello stesso elenco.
Essendo una colonna nuova, l'ho inserita nella migrazione della versione 2.12.0, che e' quella in preparazione, con il titolo sia in italiano sia in inglese.