]> git.koha-community.org Git - koha.git/commit
Bug 10094 - koha-list should have a --disabled option switch
authorTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 23 Apr 2013 13:14:37 +0000 (10:14 -0300)
committerChris Hall <followingthepath@gmail.com>
Mon, 17 Jun 2013 08:01:10 +0000 (20:01 +1200)
commitb6b1a1fa35fa5a7eff01e7872632c5d1669aebdf
treeeac6446cd9c75d707c480993ffee5267b917c7bf
parent4b53aad7786b9e845779c44f8499aca721898a51
Bug 10094 - koha-list should have a --disabled option switch

This patch adds that (--disabled) option switch, Also revisits some of the code and docs.

To test:
- Apply the patch and create new packages (you might just drop the koha-list command somewhere)
- Create several instances (koha-create)
- Randomly set some as disabled, others enabled and enable email on some.
- Test all possible option switches combinations

Expected results:
- koha-list should abort with a proper message if mutually exclusive options selected (--email vs. --noemail, --enabled vs. --disabled)
- koha-list should show the exact instances you asked for

Regards
To+

P.S.: I wanted to add the --disabled option switch for the tab-completion work I'm doing, but as of bug 4876 I thought it would be ok to revisit the script to make it robust and clear.

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Does what it says, and cleans up the script at the same time.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit de275ec128d3b26e953c35778e6a37e5b85273f5)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit 3772f30a0c50db7b993ce68b10b27aeeb09f1f4b)

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit 3772f30a0c50db7b993ce68b10b27aeeb09f1f4b)

Signed-off-by: Chris Hall <followingthepath@gmail.com>
(cherry picked from commit ef3322404bf3403a7f5508797cf7051bfb9b88d2)
debian/docs/koha-list.xml
debian/scripts/koha-list