• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

qld-gov-au / ckan / ffdd3d13-9fd2-42d6-8817-f9a076d0bad6

21 Jan 2026 02:47AM UTC coverage: 79.551% (-8.3%) from 87.869%
ffdd3d13-9fd2-42d6-8817-f9a076d0bad6

Pull #239

circleci

ThrawnCA
[QOLSVC-12515] add support for specifying facet sorts via query parameters

- Use '_{facet}_sort' as a parallel to '_{facet}_limit', with comma separation for the ordering, eg
'_tags_sort=count,desc' to mimic the default popularity-based sorting.
Pull Request #239: QOLSVC-12515 alphabetical facet sort

11 of 35 new or added lines in 2 files covered. (31.43%)

13656 existing lines in 309 files now uncovered.

42766 of 53759 relevant lines covered (79.55%)

1.63 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/ckan/tests/plugins/plugin_order/plugins.py
1
import ckan.plugins as p
2✔
2

3
class FirstPlugin(p.SingletonPlugin):
2✔
4
    p.implements(p.IConfigurer)
2✔
5
    p.implements(p.ITemplateHelpers)
2✔
6

7
    # IConfigurer
8

9
    def update_config(self, config_):
2✔
10
        p.toolkit.add_template_directory(config_, "templates_first")
2✔
11

12

13
    # ITemplateHelpers
14

15
    def get_helpers(self):
2✔
16
        return { "helper": self.helper }
2✔
17

18

19
    def helper(self):
2✔
UNCOV
20
        return "First helper"
1✔
21

22

23
class SecondPlugin(p.SingletonPlugin):
2✔
24
    p.implements(p.IConfigurer)
2✔
25
    p.implements(p.ITemplateHelpers)
2✔
26

27
    # IConfigurer
28

29
    def update_config(self, config_):
2✔
30
        p.toolkit.add_template_directory(config_, "templates_second")
2✔
31

32

33
    # ITemplateHelpers
34

35
    def get_helpers(self):
2✔
36
        return { "helper": self.helper }
2✔
37

38

39
    def helper(self):
2✔
40
        return "Second helper"
1✔
41

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc