canvas-lms/lib
Derek DeVries 78222969d6 fix question count for unpublished quizzes on quizzes#index page
fixes CNVS-7250

Test plan
- create an unpublished quiz with some questions
- the unpublished quiz should show the correct question count on the index page

Change-Id: Ia4d3760d3d2d0bca186591f2245da2be20f31f0a
Reviewed-on: https://gerrit.instructure.com/22834
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Stanley Stuart <stanley@instructure.com>
QA-Review: Myller de Araujo <myller@instructure.com>
Product-Review: Derek DeVries <ddevries@instructure.com>
2013-08-01 20:01:21 +00:00
..
api/v1 fix question count for unpublished quizzes on quizzes#index page 2013-08-01 20:01:21 +00:00
app_center added the ability for users to review app center apps 2013-06-04 19:16:20 +00:00
auditors start/end times for authentications audit log API 2013-07-21 21:07:11 +00:00
basic_lti add lis_outcome_service_url to assignment launches for teachers 2013-06-24 22:36:31 +00:00
bookmarked_collection normalize group sorting, add SimpleBookmarker for common case 2013-07-12 23:09:50 +00:00
canvas separate announcements from discussion topics in import/export 2013-08-01 19:26:58 +00:00
cc separate announcements from discussion topics in import/export 2013-08-01 19:26:58 +00:00
data_fixup useful find_each 2013-07-18 22:26:46 +00:00
event_stream add newest/oldest options to EventStream indices 2013-07-19 21:22:48 +00:00
ext remove 1.8 compatibility shims 2013-05-03 01:43:52 +00:00
handlebars fix various handlebars i18n bugs 2013-04-18 20:22:59 +00:00
i18n ensure _core_en.js is up-to-date, i18n:generate_js tweaks 2013-06-28 20:52:09 +00:00
i18n_extraction better i18n wrapper inference 2013-05-15 15:25:40 +00:00
incoming_mail incoming message processor should ignore harmless parsing errors 2013-06-05 19:18:09 +00:00
kaltura updates to provide SIS meta-data to Kaltura 2013-07-12 22:12:30 +00:00
messageable_user proper handling of cross-shard admin visibility 2013-06-21 20:40:00 +00:00
reporting remove last_activity from CountsReport 2013-07-05 21:41:31 +00:00
sis remove 1.8 compatibility shims 2013-05-03 01:43:52 +00:00
stubs allow AR::Base objects in Shard.*_id_for stubs 2013-07-22 23:22:03 +00:00
tasks tweaks to i18n:transifeximport rake task 2013-07-22 19:46:05 +00:00
api.rb sis_group_id support 2013-07-16 22:04:30 +00:00
api_route_set.rb integrate fake_rails3_routes 2013-06-26 21:22:20 +00:00
api_routes.rb integrate fake_rails3_routes 2013-06-26 21:22:20 +00:00
asset_signature.rb Better signatures for message redirects 2012-12-13 12:12:58 -07:00
assignment_override_applicator.rb cheap hack to skip overriding assignments 2013-07-26 21:43:01 +00:00
attr_config.rb EventStream abstraction 2013-04-19 19:05:14 +00:00
authentication_methods.rb rails3 fixes 2013-06-26 20:22:26 +00:00
auto_handle.rb switch to ruby stdlib SecureRandom 2013-03-28 20:49:31 +00:00
basic_lti.rb add lti variable substitution support 2013-06-07 15:49:47 +00:00
bookmarked_collection.rb normalize group sorting, add SimpleBookmarker for common case 2013-07-12 23:09:50 +00:00
browser.rb don't warn browsers we don't recognize, fixes CNVS-4754 2013-03-20 22:16:16 +00:00
canvas.rb refactor redis config loading 2013-05-23 19:04:35 +00:00
canvas_logger.rb fix CanvasLogger for rails 3.1+ 2013-04-01 18:41:20 +00:00
canvas_time.rb make fancy midnight work for assignment overrides 2013-03-07 15:53:06 -07:00
cc.rb add calendar events to export/import 2011-04-26 12:28:31 -06:00
color.rb Initial commit. 2011-01-31 18:57:29 -07:00
content_zipper.rb delay creating jobs in other dbs until transaction completes 2013-06-17 20:19:08 +00:00
copy_authorized_links.rb Initial commit. 2011-01-31 18:57:29 -07:00
custom_validations.rb API for adding files by URL 2012-08-15 16:38:50 -06:00
cuty_capt.rb remove deprecated rails constant usage 2013-03-11 12:14:08 -06:00
dates_overridable.rb cheap hack to skip overriding assignments 2013-07-26 21:43:01 +00:00
delicious_diigo.rb fix cert verification in delicious calls 2011-11-18 09:12:03 -07:00
due_date_cacher.rb fix mysql problems with boolean cast and temp tables 2013-07-26 19:38:23 +00:00
enrollments_from_user_list.rb add custom role support to course users tab 2012-12-26 15:46:12 -07:00
eportfolio_page.rb arel-ify lib 2013-04-01 19:12:22 +00:00
event_stream.rb add newest/oldest options to EventStream indices 2013-07-19 21:22:48 +00:00
external_feed_aggregator.rb remove import and external_feed_id from calendar_events. 2013-04-22 22:19:00 +00:00
external_statuses.rb Initial commit. 2011-01-31 18:57:29 -07:00
facebook.rb facebook list view fixed by replacing attribute being called 2013-05-01 20:58:19 +00:00
file_in_context.rb preserve module file items when overwriting files via zip 2012-09-14 13:54:38 -06:00
file_splitter.rb Initial commit. 2011-01-31 18:57:29 -07:00
google_doc_entry.rb support for lazy loading google docs (backend) 2013-02-20 15:30:59 -07:00
google_docs.rb fixed issue where google doc collaboration links are broken 2013-03-12 15:36:42 -06:00
grade_calculator.rb only select necessary columns for gradecalculator 2013-06-06 20:46:35 +00:00
gradebook_csv_parser.rb remove 1.8 compatibility shims 2013-05-03 01:43:52 +00:00
gradebook_importer.rb remove 1.8 compatibility shims 2013-05-03 01:43:52 +00:00
has_content_tags.rb minor fixes for HasContentTags 2013-07-25 21:22:37 +00:00
host_url.rb spec: fix specs with a plugin that overrides HostUrl.file_host_with_shard 2012-11-12 15:50:46 -07:00
i18n_import.rb switch out i18n backend, closes CNVS-5938 2013-06-06 18:11:28 +00:00
i18n_time_zone.rb localize Profile 2011-06-24 09:32:53 -06:00
imported_html_converter.rb preserve links to other content in quizzes on course copy 2013-06-24 18:54:31 +00:00
json_token.rb JSONToken helper module 2013-01-18 09:49:28 -07:00
kaltura.rb set a .csv file extension when using kaltura bulk api 2013-02-16 08:40:21 -07:00
learning_outcome_context.rb Nested outcomes UI, closes #9158 2012-10-25 11:03:21 -06:00
linked_in.rb don't cache twitter and linked_in settings process-wide 2012-05-25 10:13:03 -06:00
locale_selection.rb switch out i18n backend, closes CNVS-5938 2013-06-06 18:11:28 +00:00
logging_filter.rb fix logging parameter filtering in rails 3.1+ 2013-04-01 18:41:08 +00:00
message_dispatcher.rb don't dispatch cancelled messages, fixes #7397 2012-02-24 12:21:21 -07:00
messageable_user.rb proper handling of cross-shard admin visibility 2013-06-21 20:40:00 +00:00
model_cache.rb fixes for ruby 1.9.3 2012-05-12 14:34:23 -06:00
multipart.rb spec: fix multipart form builder StringIO filename in 1.8 2013-02-14 12:34:48 -07:00
mutable.rb finish removing course.publish_grades_immediately 2013-06-04 18:11:08 +00:00
nil_store.rb get rspec 2 running with rails 3.0 2013-03-27 15:41:28 +00:00
notification_message_creator.rb cancel messages against the correct shard 2013-07-31 09:38:33 -06:00
paginated_collection.rb bookmarked pagination, including multi-shard 2013-01-22 09:41:18 -07:00
permissions.rb allow registering new permissions in plugins 2012-03-02 09:38:06 -07:00
progress_runner.rb add a batch_update method to conversations api 2013-02-14 09:36:36 -07:00
quiz_question_data_fixer.rb arel-ify lib 2013-04-01 19:12:22 +00:00
quiz_question_link_migrator.rb don't die if a file or question is missing 2011-11-22 17:36:40 -07:00
quiz_submission_zipper.rb add ability to download all file uploads for a quiz as a zip 2013-05-16 21:14:19 +00:00
reply_to_address.rb add multiple reply-to support to outgoing mail. 2013-02-22 14:02:27 -07:00
request_context_generator.rb set a header with the session id (for logging purposes) 2012-07-13 16:12:33 -06:00
rubric_context.rb preserve account-level rubric associations on course copy 2013-06-19 19:23:48 +00:00
scribd_api.rb fix up scribd config setting and caching 2013-07-01 19:42:47 +00:00
search_term_helper.rb add search helper module 2013-07-23 16:31:51 +00:00
send_to_inbox.rb fix inbox_item creation with too-long of subjects 2012-09-20 13:03:26 -06:00
send_to_stream.rb remove deprecated rails constant usage 2013-03-11 12:14:08 -06:00
simple_stats.rb quiz item analysis generation, closes CNVS-3421 2013-04-23 15:50:36 +00:00
simple_tags.rb arel-ify lib 2013-04-01 19:12:22 +00:00
sis.rb remove unnecessary lib/sis requires 2013-04-02 15:58:29 +00:00
skip_callback.rb refactor sticky sis fields 2011-09-27 16:34:37 -06:00
sorts_assignments.rb make "Upcoming Assignments" lists vdd aware 2013-02-06 13:21:58 -07:00
ssl_common.rb support funky characters in username/passwords for http url parsing 2011-09-08 14:21:50 -06:00
stats.rb fixed calculation of variance and standard deviation 2013-05-09 18:50:05 +00:00
sticky_sis_fields.rb [#5773] Ruby 1.9.3 spec fixes 2012-10-25 09:34:28 -06:00
submission_list.rb arel-ify lib 2013-04-01 19:12:22 +00:00
summary_message_consolidator.rb switch to Shackles gem 2013-04-17 16:25:06 +00:00
syslog_wrapper.rb log context when using local rails buffered logger 2011-07-25 13:25:18 -06:00
text_helper.rb prevent incompatible character encodings errors 2013-06-25 19:13:13 +00:00
time_helper.rb calendar events api: fix date boundary handling 2013-02-06 13:49:45 -07:00
time_zone_helper.rb return time zone in user profile api 2013-07-25 16:46:32 +00:00
tinychat.rb remove deprecated rails constant usage 2013-03-11 12:14:08 -06:00
tmail_parser.rb Initial commit. 2011-01-31 18:57:29 -07:00
tour.rb added front-end to tour guide 2013-07-18 21:55:05 +00:00
turnitin.rb configurable turnitin api endpoint 2013-07-08 20:25:41 +00:00
twitter.rb update twitter api to v1.1. 2013-03-01 15:09:02 -07:00
twitter_messenger.rb twitter link sending to correct url 2013-04-26 16:02:03 +00:00
unzip_attachment.rb backport fix for ruby bug 2013-07-17 20:31:29 +00:00
user_content.rb copy links to wiki pages that start with numbers correctly 2013-03-15 14:30:58 -06:00
user_list.rb allow adding course users by sis id 2013-07-25 18:16:09 +00:00
user_merge.rb don't load entire submissions and quiz_submissions into memory 2013-06-07 22:31:28 +00:00
user_search.rb fix user search handling of cross-shard db ids 2013-07-25 20:06:30 +00:00
uuid_singleton.rb Initial commit. 2011-01-31 18:57:29 -07:00
workflow.rb change class_inheritable_accessor and write_inheritable_hash to class_attribute 2013-04-01 18:41:30 +00:00
zip_extractor.rb Initial commit. 2011-01-31 18:57:29 -07:00