Skip to content

Commit

Permalink
fix for #19 + bumping next release
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny Gershman committed Aug 3, 2018
1 parent 445a5c9 commit 5eee688
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
8 changes: 4 additions & 4 deletions bmlt-meeting-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: bread
Plugin URI: http://wordpress.org/extend/plugins/bread/
Description: Maintains and generates a PDF Meeting List from BMLT.
Version: 1.4.0
Version: 1.5.0
*/
/* Disallow direct access to the plugin file */
use Mpdf\Mpdf;
Expand All @@ -18,7 +18,7 @@
class Bread {
var $lang = '';

var $version = '1.4.0';
var $version = '1.5.0';
var $mpdf = '';
var $meeting_count = 0;
var $formats_used = '';
Expand Down Expand Up @@ -820,7 +820,7 @@ function bmlt_meeting_list($atts = null, $content = null) {
if ( $this->options['meeting_sort'] === 'state' ) {
$unique_data[] = $value['location_municipality'] . ', '.$value['location_province'];
} elseif ( $this->options['meeting_sort'] === 'city' ) {
$unique_data[] = $value['location_municipality'];
$unique_data[] = strtoupper($value['location_municipality']);
} elseif ( $this->options['meeting_sort'] === 'borough' ) {
$unique_data[] = $value['location_city_subsection'];
} elseif ( $this->options['meeting_sort'] === 'county' ) {
Expand Down Expand Up @@ -938,7 +938,7 @@ function bmlt_meeting_list($atts = null, $content = null) {
}
if ( $this->options['meeting_sort'] === 'state' && $meeting_value['location_municipality'] . ', ' . $meeting_value['location_province'] !== $this_unique_value ) { continue; }
if ( $this->options['meeting_sort'] === 'group' && $meeting_value['meeting_name'] !== $this_unique_value ) { continue; }
if ( $this->options['meeting_sort'] === 'city' && $meeting_value['location_municipality'] !== $this_unique_value ) { continue; }
if ( $this->options['meeting_sort'] === 'city' && strtoupper($meeting_value['location_municipality']) !== $this_unique_value ) { continue; }
if ( $this->options['meeting_sort'] === 'borough' && $meeting_value['location_city_subsection'] !== $this_unique_value ) { continue; }
if ( $this->options['meeting_sort'] === 'county' && $meeting_value['location_sub_province'] !== $this_unique_value ) { continue; }
if ( $this->options['meeting_sort'] === 'borough_county' ) {
Expand Down
9 changes: 6 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Contributors: odathp, radius314, pjaudiomv, klgrimley
Tags: meeting list, bmlt, narcotics anonymous, na
Requires at least: 4.0
Requires PHP: 5.6
Tested up to: 4.9.6
Stable tag: 1.4.0
Tested up to: 4.9.7
Stable tag: 1.4.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
A web-based tool that creates, maintains and generates a PDF meeting list from BMLT.
Expand Down Expand Up @@ -55,8 +55,11 @@ Follow all these steps, keep in mind that once you start using bread, it's not g
== Changelog ==

= 1.5.0 =
* Upgraded to mPDF 7.1.1
* Added recurse service bodies option for zones and metros
* Bug fixes for base font selection
* Bug fixes for base font selection and some formatting issues
* Remove duplicate formats that can occur with Tomato
* Keep city headers grouped together if casing doesn't match (won't fix sorting issues).

= 1.4.0 =
* Support for PHP 7.1 and up
Expand Down

0 comments on commit 5eee688

Please sign in to comment.